Reply To: Fixed price and taxes

We tried the beta version, but the tax issue remains, as you can see on screenshot 1. The weird thing is, if we use version 3.4.2 and just add this line : else $tax_amount = $theprice / (1+$tax[1]/100); at the exact place you put it in the beta file, we get the correct tax calculation, but then tax amount appears at the wrong place (screen 2). Any idea?

Regards

EDIT : we figured out what the matter was. In fact your formula was wrong since in your code your used the calculation to obtain the amount of VAT. So the correct formula is : $tax_amount = $theprice * (1-1/(1+$tax[1]/100));