sdeuss Posted December 10, 2014 Share Posted December 10, 2014 Bonjour, Je voudrais savoir comment faire afficher le TTC après le montant. Je suis sur prestashop 1.6 avec le thème par défault. Exemple : Sur ma boutique j'ai 78 € mais je voudrais afficher 78 € TTC Je vous remercie d'avance de votre aide. Link to comment Share on other sites More sharing options...
NicolasV Posted December 10, 2014 Share Posted December 10, 2014 (edited) Bonjour, Il te faut éditer les fichier .tpl de ton thème. Par exemple pour la page du panier, tu édites le fichier shopping-cart.tpl . Une fois dedans, tu repères cette ligne (ici elle indenté pour les besoins de l'explication) : {if $display_tax_label} {l s='Total products (tax excl.)'} {else} {l s='Total products'} {/if} Cette ligne affiche le mot "TTC". Elle est suivi de celle-ci : {displayPrice price=$total_products} {displayPrice price=$total_products} Cette ligne affiche le prix TTC. Tu l'auras compris, il te faut juste inverser ces 2 lignes dans ton fichier shopping-cart.tpl Cette explication s'applique à tous tes templates qui affichent le prix TTC. Edited December 10, 2014 by NicolasV (see edit history) 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