Jump to content

Update Price on Variation change on Produkt Price without Tax and with Tax?

Go to solution Solved by AndersUndSeim,

Recommended Posts



we're having a issue with PrestaShop (


We want to display the Produkt Price without Tax and with Tax.


In product.tpl we have that code:

<span id="pretaxe_price">
<span id="pretaxe_price_display" itemprop="price">{convertPrice price=$product->getPrice(true, $smarty.const.NULL)}</span>
{l s='tax incl.'}

That Works fine and it Shows both Prices. But when we change the Product Variation, only the Price wthout Tax changes.


 In product.js we added:

$('#pretaxe_price_display').text(formatCurrency(basePriceWithTax * currencyRate, currencyFormat, currencySign, currencyBlank));

But "basePriceWithTax" is not in the JS. only "basePriceWithoutTax".


Can someone help us what we have to add to the product.js to get it work?


Thx a lot



Share this post

Link to post
Share on other sites
  • 2 weeks 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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More