mike235 Posted May 8, 2009 Share Posted May 8, 2009 Salut,Je cherche une astuce pour afficher la liste des tags sous chaque nom de produit dans les pages de listing produit (product-list.tpl)J'ai essayé ce code donné par un internaute sur le forum anglais : {if $product->tags} {foreach from=$product->tags item=tag name=myLoop} {$tag.name|escape:htmlall:'UTF-8'} {/foreach} {else} {l s='Aucun tag pour ce produit' mod='blocktags'} {/if} Mais celui-ci ne fonctionne pas bien (il doit pas être loin d'être bon pourtant..)Est-ce que l'un d'entre vous saurait comment le compléter/corriger ?Merci bcp! 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