Disable some modules in displayFooter hook on product pages
Hi vekia, I am modifying the product.tpl of my client and he would like the footer of the product page to be different from the others, would like to disable the newsletter and social blocks only for the product pages. Do you have a solution or a module for this? Thank You
How to disable some modules in displayFooter hook on product pages?
- go to:
- in prestashop 1.7: design > positions
- in prestashop 1.6: modules > positions
- there is a list of "positions" in your shop where modules appear.
- Find there list of modules named "displayFooter"
- click on "edit" near each module you want to disable on product pages: https://i.imgur.com/1qrfoxC.png
- on the "edit" page you will be able to define "exceptions". Exception decides on what pages module will appear and on what pages not. Select there "product" - it means that module in "displayFooter" position will not appear on "product" pages. https://i.imgur.com/p9xTClj.png
No comments:
Post a Comment