Jump to content


szilaszlo

Member Since 15 Dec 2016
Offline Last Active Jan 19 2017 03:00 PM
-----

Posts I've Made

In Topic: Display tags on product list in category view

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...


In Topic: Display tags on product list in category view

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 ;-)

 

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!