Display labels on products in product-list.tpl in PrestaShop

Hello,

is there any simple option available to display icons and product tags with "Product Tag Icons Pro" in Product listing? We are using custom template, and i have already added new hook to product-list.tpl, registered hook, created function "hookdisplay..." in ticons.php, transplanted module to that hook, but icons are not displayed. Any suggestion? Thanks & regards,


Icons module already have feature to display labels on list of products

Icons module you have is frequently used to display these icons on list of products. you can see it for example here: https://hry-nej.cz/
Module to display icons on list of products uses default hook named "displayProductDeliveryTime". Default product-list.tpl has this code to run this hook: {hook h="displayProductDeliveryTime" product=$product}
Make sure that you've got it in your product-list.tpl, if it is not there - just add the code i attached above.

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