Jump to content

Edit History

gbartosz83

gbartosz83

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 ?

gbartosz83

gbartosz83

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

×
×
  • Create New...