Jump to content

[SOLVED] Display two prices on product page


Go to solution Solved by JanetsCloset,

Recommended Posts

  • 2 weeks later...
  • 4 years later...

How to do this in prestashop 1.7.6.1?
I have tried some tip in product prices tpl but it only mixed both prices it was something like this:
8,61 inc tax - before I have commented out the if statement
    {block name='product_without_taxes'}
      {if $priceDisplay == 2}
        <p class="product-without-taxes">{l s='%price% tax excl.' d='Shop.Theme.Catalog' sprintf=['%price%' => $product.price_tax_exc]}</p>
      {/if}
    {/block}
but it mixed two prices like this: 8,61 7,00 ex tax  inc tax 

I have found this thread https://github.com/PrestaShop/PrestaShop/issues/12276 for cart page but it seems to be out of date for my version of prestashop.


1. How to display both prices on product page ?
2. How to display both prices on product list ?
3. How to display both prices on cart page ?

Edited by gbartosz83 (see edit history)

Share this post


Link to post
Share on other sites

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