How i can display tags associated with products on product page, for example, below the produc image?
How to display product tags on product page in prestashop 1.6 ?
Started by DEFTONES, Apr 26 2014 12:20 PM
tags product page links
7 replies to this topic
looking for the best presta addons with outstanding support? check this: PrestaShop Modules
#2
Posted 26 April 2014 - 12:22 PM
it's easy to achieve
you can use this simple code
{foreach from=Tag::getProductTags(Tools::getValue('id_product')) key=k item=v} {foreach from=$v item=value} <li><a href="{$link->getPageLink('search', true, NULL, "tag={$value|urlencode}")}">{$value|escape:html:'UTF-8'}</a></li> {/foreach} {/foreach}
use this code in product.tpl file located in your theme directory.
detailed guide you can find here: tags on product page
guide is based on prestashop 1.5 but it works well in prestashop 1.6
effects:
free tutorials, free templates, free addons, prestashop modules
#7
Posted 26 September 2016 - 09:56 AM
you can use some "server" software like xampp to run some kind of "hosting" environment on your own PC
free tutorials, free templates, free addons, prestashop modules