Jump to content

Display product price without ecotax on product-list.tpl


daddybelgium

Recommended Posts

Hello,

Sorry for my english

I use ecotax for the sale of returnable bottles.

In product.tpl, I managed to display the price without ecotax with this variable

{convertPrice price=$productPriceWithoutEcoTax|floatval}

In product-list.tpl, I can not display the price without ecotax

<span itemprop="price" class="price product-price">
										
										{hook h="displayProductPriceBlock" product=$product type="before_price"}
										
										{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}
										
									</span>

How could I do that?

Thanks for your help ;-)

398.jpg

399.JPG

Edited by daddybelgium (see edit history)
Link to comment
Share on other sites

  • 6 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...