jeckyl Posted February 15, 2010 Share Posted February 15, 2010 Bonjour,J'ai enfin trouvé comment ne faire apparaitre qu'un texte à la place d'une liste déroulante lorsque qu'un groupe d'attribut ne comporte qu'un seul attribut, ceci pour permettre de donner une information capitale sur un produit sans passer par les caractéristiquesDonc dans product.tpl vous devez remplacer : <!-- attributes --> {foreach from=$groups key=id_attribute_group item=group} {$group.name|escape:'htmlall':'UTF-8'} : {assign var='groupName' value='group_'|cat:$id_attribute_group} {foreach from=$group.attributes key=id_attribute item=group_attribute} {$group_attribute|escape:'htmlall':'UTF-8'} {/foreach} {/foreach} Link to comment Share on other sites More sharing options...
BVince Posted February 15, 2010 Share Posted February 15, 2010 Impecable ;-) 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