Jump to content

[homefeatured] comment faire pour signaler un produit en solde ?


Pixelmio

Recommended Posts

Bonjour,

 

Je suis à la recherche d'un truc (lire astuce) qui indiquerait visuellement qu'un produit est soldé ou en promo dés la page d’accueil, c'est à dire dans le mode "homefeatured".

 

J'aimerais le faire via CSS au niveau du <li>, cad ici :

 

<li class="ajax_block_product {if $smarty.foreach.homeFeaturedProducts.first}first_item{elseif $smarty.foreach.homeFeaturedProducts.last}last_item{else}item{/if} {if $smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLine == 0}last_item_of_line{elseif $smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLine == 1}clear{/if} {if $smarty.foreach.homeFeaturedProducts.iteration > ($smarty.foreach.homeFeaturedProducts.total - ($smarty.foreach.homeFeaturedProducts.total % $nbItemsPerLine))}last_line{/if}">

 

Quelqu'un a une idée? 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...