Module to display custom contents below on category page - below the list of products
PrestaShop displays modules in positions named "hooks".Each theme developer put hooks to theme in a little different way, so the exact 'position' to use in 'html box pro' depends on how theme is developed.
In PrestaShop 1.6:
in context of default theme it is necessary to create custom hook, because default theme does not have any kind of hook there (you can see default hooks on category page here: https://i.imgur.com/3s6IHOJ.jpg)
- so i created hook named displayCategoryBottom: https://i.imgur.com/eR7irFV.png
- i created "test" block there: https://i.imgur.com/YADz5Ty.png
- i put it to theme file category.tpl
- effect: https://i.imgur.com/eMA6TzT.png
in PrestaShop 1.7:
prestashop 1.7 is ready to show contents there by default. List of deault hooks: https://i.imgur.com/eMA6TzT.png
so as you can see - you can use position named dispalyContentWrapperBottom or displayWrapperBottom
best regards,
milos
0 comments:
Post a Comment