Jump to content

Edit History

Blawdi

Blawdi

Hello, I would like to display the PRICE including VAT 20% from the price excluding VAT.

I found this:

{l s='%price% with FR VAT' d='Shop.Theme.Catalog' sprintf=['%price%' => ($product.price_tax_exc*1.20)|string_format:"%.2f"]}
however the result is very strange 

24 800,00 € = 28.80 with FR VAT should be 29 760€

Can you help me to get the right amount?

Blawdi

Blawdi

Hello, I would like to display the PRICE including VAT 20% from the price excluding VAT.

I found this:

{l s='%price% with UK VAT' d='Shop.Theme.Catalog' sprintf=['%price%' => ($product.price_tax_exc*1.20)|string_format:"%.2f"]}
however the result is very strange 

24 800,00 € = 28.80 with FR VAT should be 29 760€

Can you help me to get the right amount?

×
×
  • Create New...