Numero50 Posted August 7, 2015 Share Posted August 7, 2015 (edited) Bonjour, Je suis sur prestashop 1.6 J'ai l'ensemble de mon site affichant des prix TTC. Dans ma page product-list.tpl : Je souhaiterais afficher le prix avant réduction en HT et TTC pour le TTC, j'y suis parvenu avec le bloc suivant : <span class="old-price product-price"> {displayWtPrice p=$priceWithoutReduction_tax_excl} TTC </span> Dans ma page produit.tpl, je suis parvenu à faire ce double affichage grace à ce bloc : {assign var='productPriceWithoutReductionNoTax' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} <span class="price-box-display-ht"> {convertPrice price=$productPriceWithoutReductionNoTax} {l s='tax excl.'} </span> <span class="price-box-display-ttc"> {convertPrice price=$productPriceWithoutReduction} {l s='tax incl.'} </span> Mais impossible de reproduire ce comportement dans product-list.tpl Merci par avance pour votre aide précieuse Edited August 7, 2015 by Numero50 (see edit history) Link to comment Share on other sites More sharing options...
kerlin Posted July 25, 2017 Share Posted July 25, 2017 Bonjour, je déterre ce topic car je cherche aussi. Par le plus grand des hasards, auriez-vous trouvé ?Merci d'avance 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