v1.6-v1.7 [Requests] Prestashop Show tags on product page

unique

Well-known member
Diamond
Elite
XNullUser
Joined
Dec 12, 2020
Messages
2,390
Reaction score
457
Points
83
NullCash
787
This module displays list of tags that are associated with viewed product page. As you already know - prestashop does not have a feature to show tags associated with product on product page. This is the module that llows to show them.


can any one share this?
 

sphway

Active member
XNullUser
Joined
Dec 18, 2021
Messages
153
Reaction score
50
Points
28
NullCash
5
try this,i insert the code to the bottom of tab.tpl

{foreach from=Tag::getProductTags(Tools::getValue('id_product')) key=k item=v}
{foreach from=$v item=value}
<li class="licontent"><a href="{$link->getPageLink('search', true, NULL, "tag={$value|urlencode}")}">{$value|escape:html:'UTF-8'}</a></li>
{/foreach}
{/foreach}

2022.jpg
 
Top