Sep-20-2019, 07:53 PM
10.05 was an example price with tax included (including tax could cause the resulting price to be 20.09), that I would have to display in cart.
I'll just stick to my first example numbers. Let's say customer would like to order 2 products, with one having price with tax 344.94 (that is the price I am supposed to display). After adding two products with price 344.94 the total price will be 688.87 (which can be odd for customer as he's probably expecting 344.94 * 2 to be the resulting price).
And that is not the case as I have to calculate the total price without the tax, substract any existing discounts (not only percentages) and then again calculate tax and sum it together -> which in this case will give me 688.87 .
I'll just stick to my first example numbers. Let's say customer would like to order 2 products, with one having price with tax 344.94 (that is the price I am supposed to display). After adding two products with price 344.94 the total price will be 688.87 (which can be odd for customer as he's probably expecting 344.94 * 2 to be the resulting price).
And that is not the case as I have to calculate the total price without the tax, substract any existing discounts (not only percentages) and then again calculate tax and sum it together -> which in this case will give me 688.87 .