RPOBLEM ROUNDING TAXES WOOCOMMERCE
-
Hi, i’m testing an e-commerce on wordpress + woocommerce.
I founded many issues whith rounding.
I’ve tried all possible combinations of settings, also tried to downgrade woocommerce at previous versions.EXAMPLE 1)
I created 2 products price without VAT (6 euro and 40 euro, in discount at 30 euro)
https://image.ibb.co/f097Ff/1.jpg
https://image.ibb.co/geXYo0/2.jpgShipping costs are FIXED 8 euro (without vat)
HEREIS THE CART
https://image.ibb.co/mmMwaf/3.jpgI use an invoice plugin (fattura24) and it seems quite correct (but there is no discount percentage, ok this is not a serious problem.).
https://image.ibb.co/jVpGaf/4.jpg
_________________________________________________
EXAMPLE 2) THE REAL PROBLEMS STARTED HERENOW i create 2 products price without VAT but with a NOT integer PRICE..
the first is 6.1476 euro and second is 8.1147 euro (EXCLUDED 22% VAT)ON SITE THE PRICES ARE CORRECT:
https://image.ibb.co/iZ3Raf/5.jpgNOW THERE IS THE PROBLEM: I BUY 2x products by type
I think the correct calculation is 6.1476*2+8.1147*2= 12,2952+16,2294= 28,5246
And with vat 22% is 34,800012.
Instead of 34.80, woocommerce says me 34.81 in subtotal, one more cent
https://image.ibb.co/e2EA1L/6.jpgI think woocommerce do these crappy operations:
12,2952 rounded to 12.30
16,2294 rounded to 16.23
and then (12.30+16.23)*1.22=28.53 *1.22=34,8066 rounded to 34.81
Here is the invoice: Sum of products of 7.50 is 15.01 euro …
https://image.ibb.co/mYeDo0/7.jpg_________________________________________________
EXAMPLE 3)
WORST thing without this flag (round at subtotal)
https://image.ibb.co/g7CNgL/8.jpgHERE IS THE CART
https://image.ibb.co/f9BMaf/9.jpg
seems ok but here is the invoice :
https://image.ibb.co/d3XV1L/10.jpgIt’s worse because in the cart there is a price of 44.56 and then i ask to pay 44.57
and there is also the famous cent 15.01…Need help to solve issue
Thank youThe page I need help with: [log in to see the link]
- The topic ‘RPOBLEM ROUNDING TAXES WOOCOMMERCE’ is closed to new replies.