tom52 Posted September 19, 2015 Share Posted September 19, 2015 Hello, I purchased a module, but I don't understand where to add this code (the INSTRUCTION said add to product-list.pl, product.tpl and any module tpl which is displaying products. In most cases code is add in between <a> </a> tag containing tag <img> with product image, just paste it before opening tag <img>) Does anyone understand where I can add the code? Thank you Tom Link to comment Share on other sites More sharing options...
taydotech123 Posted September 19, 2015 Share Posted September 19, 2015 what is your module? and tell your issue at here, everyone can help you Link to comment Share on other sites More sharing options...
NemoPS Posted September 19, 2015 Share Posted September 19, 2015 It seems you have to add some code to the template files located in your theme folder.What's the exact code snippet Link to comment Share on other sites More sharing options...
tom52 Posted September 19, 2015 Author Share Posted September 19, 2015 The module is Free Delivery Pro from PrestaShop. Here is the link free-delivery-pro The developer said they were going to add the code, but stop answering my e-mail 2 days ago. Free delivery label can be add to product-list.pl, product.tpl and any module tpl which is displaying products. To add label please copy and paste one line of code:{hook h="displayFreeDeliveryLabel" product=$product} In most cases code is add in beetwen <a> </a> tag containing tag <img> with product image, just paste it before opening tag <img> Link to comment Share on other sites More sharing options...
NemoPS Posted September 21, 2015 Share Posted September 21, 2015 You just have to paste in this snippet then{hook h="displayFreeDeliveryLabel" product=$product}WHerever you want inside product-list.tpl, as long as it is inside the {foreach...} loop and the main container. Link to comment Share on other sites More sharing options...
Recommended Posts