Hi I managed to display the customer reinsurance jpg (not the actual module), using HTML BOX PRO, at the bottom of DisplayHome I'd also like to have it displayed, at the same position, on the category and product pages I tried to create a CenterColumn hook but that doesn't appear anywhere Could you please tell me what hooks I need to aim for ?
How to create center column hook?
Hello
product pages and category pages do not have "displayHome" hook. There are major differencies - in context of construction - between homepage, category pages, product pages.
here you can see the default hooks in prestashop:
- homepage: https://i.imgur.com/iXm0pka.jpg
- category page: https://i.imgur.com/SOB252W.png
- product page: https://i.imgur.com/Lkg6GH0.png
when you will compare these images you will see that prestashop does not have ANY hook that will appear everywhere (on each page type) somewhere in center column.
Because of this the only one way to achieve what you expect is a custom hook. Let's say: CenterColumn
If you want to show
{hook h='CenterColumn'}
somewhere in center column . you need to put this shortcode to file: /themes/default-boostrap/footer.tpl, right before the code:
</div><!-- #center_column -->
something like this:
contents will appear at the end of the center column then
0 comments:
Post a Comment