I've written some PHP code to do some sorting on prices, and I've used the ProductPriceRaw variable so I can do calculations on a numeric value. It all works as intended but now I want to add VAT back on the price and display it.
I know I can multiply the figure by 1.175, but I was hoping to future-proof it against January's vat rise so I'm looking to retrieve the tax-rate as a variable (if such a thing exists). I've tried using TaxRate1 within a pricelist block as per a post of Norman's I found, but it threw an error and wouldn't recognise the figure.
Am I doing something wrong? Can anyone help? Is a VAT rate variable one for the wishlist?
I know I can multiply the figure by 1.175, but I was hoping to future-proof it against January's vat rise so I'm looking to retrieve the tax-rate as a variable (if such a thing exists). I've tried using TaxRate1 within a pricelist block as per a post of Norman's I found, but it threw an error and wouldn't recognise the figure.
Am I doing something wrong? Can anyone help? Is a VAT rate variable one for the wishlist?
Comment