jaywaters Posted September 16, 2015 Share Posted September 16, 2015 Hi all, This has been asked before but i can't find any mention of the topic recently (therefore relating to 1.6) and none of the info I've uncovered so far seems to work for me. I'm building a book store and using Tags for Authors, so therefore need the author to appear directly below the book name throughout the store, especially in product lists. The following tutorial by Nemo does exactly what I want but with Features: http://nemops.com/features-to-product-list-prestashop-16/#.VfmmfmRVhBc I just need someone to help me out doing the same but for Tags. Any pointers greatly appreciated. Thanks, Jay Link to comment Share on other sites More sharing options...
Neza Posted September 20, 2015 Share Posted September 20, 2015 Hi Jay, Based on the tutorial of Nemo, the code needs some changes to deal with tags. For global.js, do the same, just modify "features" by "tags". Hope it will be useful! <div class="tags"> {foreach from=Tag::getProductTags($product.id_product) key=k item=v} {if $k != $lang_id} {continue} {/if} {foreach from=$v item=value} <div> <span style="color:green;">{$value}</span> </div> {/foreach} {/foreach} </div> Link to comment Share on other sites More sharing options...
jaywaters Posted September 22, 2015 Author Share Posted September 22, 2015 Hi Neza, That worked a treat, thanks very much! Jay Link to comment Share on other sites More sharing options...
grubybarti Posted May 20, 2016 Share Posted May 20, 2016 How can I make thouse tag working like links ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now