prestashop_newuser Posted January 24, 2014 Share Posted January 24, 2014 Hi, I want to know can we make our own custom hook from a module. Means I don't need to go any other file and edit or make changes. Only I will install my module and the hook will start to work. I want a hook just before the product details. There is already hook present for productfooter which adds a block after the product details. I want just reverse of the hook means I want to show a block just before product details. So can someone kindly tell me how to do this? Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted January 24, 2014 Share Posted January 24, 2014 Hi, you can follow the guide: http://www.prestashop.com/forums/topic/2182[spam-filter]create-custom-and-new-hook-in-ps-15/ But for trigger hook you need using Hook::exec('my_new_hook_name') in some place of code. Regards Link to comment Share on other sites More sharing options...
Recommended Posts