On my single-product page I’d like to display the price as (for example):
£10 (£8.33 plus VAT)
I know by selecting ‘Catalog prices defined including tax’ under Settings>Tax>Catalog Prices I can change from a VAT-inclusive price to a VAT-exclusive one, but I want to show both prices. I found this chunk of code on stackoverflow which definitely includes the content I want, as if I include this whole piece on the page I get:
Our Price: £6.00
inc. VAT 20% (£1.00)
But you can already see the problem – it’s defined the inclusive and exclusive price on the page of the cheapest possible permutation, even before the customer has picked the permutation he wants. If he chooses the dearer option at £8.33, he still sees the ‘wrong’ price. Any idea on how I can REPLACE the price that’s only shown once options have been chosen with this coding?
- The topic ‘VAT breakdown on product page’ is closed to new replies.