Jump to content
You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality.
szilaszlo hasn't added any friends yet.
No latest visitors to show
19 January 2017 - 01:43 PM
where exactly you want to display tags?
I like it to show on the product list category page by the homefeatured module.
If it will be appear on the top of the product image, It will be genius!
it is difficult like that? I am not a programmer...
16 December 2016 - 09:43 AM
in product-list.tpl file you can use this code: <ul class="producttags"> {foreach from=Tag::getProductTags($product.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} </ul> place this code there where you want to dispaly tags voila ;-)
in product-list.tpl file you can use this code:
<ul class="producttags"> {foreach from=Tag::getProductTags($product.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} </ul>
place this code there where you want to dispaly tags
voila ;-)
Hi Vekia!
It is possibe to works with prestashop 1.6.1.4 and 1.6.1.7?
My 1.6.1.4. shop have a leo fashion theme, and it seems not work, but no errors.
I used your article: https://mypresta.eu/...oduct-page.html
Thank you!