emtolu Posted January 4, 2013 Share Posted January 4, 2013 (edited) Bonjour J'essaye d'afficher les remises par quantité dans la liste des produits, comme ci dessous : Cependant j'ai réussis à faire apparaître la quantité que sur les produits qui on une promotion à partir d'un produit acheté. Voici le bout de code que j'ai intégré dans product-list.tpl {if $product.specific_prices.from_quantity >=2} {assign var='specific_prices' value=$product.specific_prices} {$specific_prices.from_quantity|intval} [spam-filter]$product.price *(1-{$specific_prices.reduction|floatval})}|convertAndFormatPrice} <span class="reduction"><span>-{$specific_prices.reduction*100|floatval}%</span></span> {/if} Merci Edited January 4, 2013 by emtolu (see edit history) Link to comment Share on other sites More sharing options...
emtolu Posted January 5, 2013 Author Share Posted January 5, 2013 Up Link to comment Share on other sites More sharing options...
ledmounting Posted June 23, 2015 Share Posted June 23, 2015 up 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