klamort Posted March 19, 2016 Share Posted March 19, 2016 Bonjour, Quand j'ai un article en promotion à -20% est-il possible que sur la page produit cela affiche -20% au lieu d'un prix barré. Ou existe-t-il un module pour cela? Merci Link to comment Share on other sites More sharing options...
doekia Posted March 19, 2016 Share Posted March 19, 2016 Oui, ajuste tes tpls à la manière du thème de base product-list.tpl {if $product.specific_prices.reduction_type == 'percentage'} <span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span> {/if} Link to comment Share on other sites More sharing options...
klamort Posted March 19, 2016 Author Share Posted March 19, 2016 Oui, ajuste tes tpls à la manière du thème de base product-list.tpl {if $product.specific_prices.reduction_type == 'percentage'} <span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span> {/if} Merci de la réponse, si j'ai bien compris, je dois rajouter ces lignes à la fin du fichier product-list.tpl de mon thème? Link to comment Share on other sites More sharing options...
doekia Posted March 19, 2016 Share Posted March 19, 2016 Non j'ai pas dit ça. Tu regarde comment est structuré le thème d'origine et comment ton thème est organisé et tu ajustes. 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