Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 73026

Wrong cart total calculation

$
0
0

Replies: 0

I have problem with cart total price.

In cart i have:
Product 9.90
Shipping 1.90
Fee 1.00
————-
Total 12.79

I have set:
price are inclusive tax
tax based on – base
tax round at subtotal – no
display prixes – with tax
decimals – 2

I did some calculations:

Product calc tax: 9.9 – 9.9 / 1.2
Without tax: 8.25
Tax: 1.65

Shipping calc tax: 1.9 – 1.9 / 1.2
Without tax: 1.58
Tax: 0.32

Fee: calc tax: 1 – 1 / 1.2
Without tax: 0.83
Tax: 0.17

Total without tax: 10.66
Total tax: 2.14
Total: 12.80

But cart total is 12.79

Display price in cart is set – With vat.
So, when i change it to Wihout vat, price are correct:

Product – 8.25
Shipping – 1.58
Fee – – 0.83
Total Vat – 2.13
Total – 12.79

What i am doing wrong? WooCommerce is 2.6.14 version.


Viewing all articles
Browse latest Browse all 73026

Trending Articles