chrisdig51 Posted September 28, 2013 Share Posted September 28, 2013 Bonjour, Comment afficher écotaxe même si elle est a 0? Je souhaiterais afficher l’écotaxe sur l'ensemble de mes produit même ci certain on une écotaxe a 0€. Au final je souhaiterais avoir ça sur les produits n'ayant aucune écotaxe Merci a vous Version prestashop 1.5.4.1 Link to comment Share on other sites More sharing options...
Atch Posted September 28, 2013 Share Posted September 28, 2013 Salut, dans product.tpl il y a une condition, il suffit de la supprimer : {if $product->ecotax != 0} <p class="price-ecotax">{l s='include'} <span id="ecotax_price_display">{if $priceDisplay == 2}{$ecotax_tax_exc|convertAndFormatPrice}{else}{$ecotax_tax_inc|convertAndFormatPrice}{/if}</span> {l s='for green tax'} {if $product->specificPrice AND $product->specificPrice.reduction} <br />{l s='(not impacted by the discount)'} {/if} </p> {/if} devient <p class="price-ecotax">{l s='include'} <span id="ecotax_price_display">{if $priceDisplay == 2}{$ecotax_tax_exc|convertAndFormatPrice}{else}{$ecotax_tax_inc|convertAndFormatPrice}{/if}</span> {l s='for green tax'} {if $product->specificPrice AND $product->specificPrice.reduction} <br />{l s='(not impacted by the discount)'} {/if} </p> V++ Atch Link to comment Share on other sites More sharing options...
chrisdig51 Posted September 28, 2013 Author Share Posted September 28, 2013 (edited) Merci prestashop fanatic Edited September 28, 2013 by chrisdig51 (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