Jump to content

Custom Module with product sorted by product features


Recommended Posts

Hello

 

I made custom module, and i want to display in it sorted by product features.

 

I'm displaying product in this way:

 

$products = Product::getProducts($cookie->id_lang, 0, NULL,'id_product', 'ASC');
$this->smarty->assign(array(
 'products' => $products
   ));

return $this->display(__FILE__, 'tousnossejours.tpl');

 

but i do not have any idea how to set features for product in this list - maybe you have some tips - thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...