Subtotal Calculation Incorrect
-
We have recently discovered an issue with rounding on the order checkout complete, and customer email. The basket shows the correct subtotal for products, however when an order is placed the subtotal is different – I presume a rounding issue with the tax.
[url=https://ibb.co/f24sGpm][img]https://i.ibb.co/Btq9KZ8/Rounding.png[/img][/url]
https://ibb.co/f24sGpmWe have added products to the site inclusive of VAT (UK 20%) and the checkbox to “Round tax at subtotal level, instead of rounding per line” is unticked. If I change this to be ticked, the basket subtotal and total are £0.01 more. The checkout and customer email subtotals are then correct, but both totals are also £0.01 more than they should be.
Tax is entered to 4 decimal places – 20.0000% (Admin -> WooCommerce -> Settings -> Tax)
I am testing with the twentynineteen theme to eliminate our theme being the problem.
- The topic ‘Subtotal Calculation Incorrect’ is closed to new replies.