Jump to content

Category product module?


Recommended Posts

  • 2 weeks later...

that's right in the module .tpl file you've got something like this:

$category = new Category(Context::getContext()->shop->getCategory(), (int)Context::getContext()->language->id);

 

insted the: Context::getContext()->shop->getCategory() use category ID number

  • Like 1
Link to comment
Share on other sites

So i should do that multiple times to get such module to be done>? i mean should clone home featured module for the number of categories i have :blink: >? and that image was from prestashop module site... its a paid module :(

  • Like 1
Link to comment
Share on other sites

Yes, you should clone the module a few times, and assign each copy to a different root category following Vekia advice. You can find the way of clonning the module on google, very easily.

 

About the module shown on the picture you say, no idea is its free/paid...

 

 

Good luck! <_<

  • Like 2
Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...
×
×
  • Create New...