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?

  1. go to:
    1. in prestashop 1.7: design > positions
    2. in prestashop 1.6: modules > positions
  2. there is a list of "positions" in your shop where modules appear.
  3. Find there list of modules named "displayFooter"
  4. click on "edit" near each module you want to disable on product pages: https://i.imgur.com/1qrfoxC.png
  5. 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
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a comment