Jump to content

Attributs produits en <li> plutôt que <select>


ajhax

Recommended Posts

Bonjour,

 

Je souhaites afficher les attributs produits (les différentes tailles) à la maniere d'un color picker, soit en liste, et non pas en liste déroulante. Voila ce que j'ai tenté à l'intérieur du product.tpl :

 

 

 

<li>
<a href="#" onclick="javascript:findCombination();{if $colors|@count > 0}$('#wrapResetImages').show('slow');{/if};">
{$group_attribute|escape:'htmlall':'UTF-8'}</a>
</li>

 

Mais cela ne fonctionne pas, quelqu'un aurait-il une piste ?

 

Merci,

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...