webdhm Posted April 21, 2014 Share Posted April 21, 2014 Hi, I'm trying to write a module that will add functionality to products displayed at category page. The thing is that I didn't find any hook for category page. is there a way to determine that I'm in category page? thanks in advanced Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2014 Share Posted April 21, 2014 hello category page hasn't got any hook (in prestashop 1.5) you can create hook manually, then in place where you want to display module you can use: {hook::exec('my_hook')} Link to comment Share on other sites More sharing options...
webdhm Posted April 22, 2014 Author Share Posted April 22, 2014 Hi, Thank you for your answer. that's means that I need to modify also the theme, am I correct? Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2014 Share Posted April 22, 2014 yes, but you will need only paste this code: {hook::exec('my_hook')} ps. prestashop 1.6 has got hook on product list Link to comment Share on other sites More sharing options...
Recommended Posts