Page 1 of 1

Problem with total calculation and rounded prices persists!!

Posted: Sat May 30, 2015 4:25 am
by froschgift
Hi there I found this "old" thread: http://forum.opencart.com/viewtopic.php?f=161&t=96706

We have the same issue with OC 2.0.3.0. Totals are not calculated with the rounded product prices incl. vat!

Example: Price without VAT = € 4.20 then Opencart shows price in store with 19% vat => € 5.00. That's good but all totals are wrong, see attached screenshot...

4 item (price incl. vat € 5.00) * 4 = € 19.99 this needs to be € 20.00

We need this to be fixed!

Re: Problem with total calculation and rounded prices persis

Posted: Thu Sep 10, 2015 7:08 pm
by sarunazs
Hello ihave the same issue with totals calculation. For example we have several products in cart which price in database is 2.2727 user added 9 different products of the same price each product 2 times so we get price like: 4,5454 per product for user to be displayed.
In cart price without TAX is displayed 4,55 per product so when we calculate sub total system displays 40,91 (because it gets 40,9086) but if customer would calculate he would get 4,55*9 = 40.95, here we have 4ct difference.

Totals should be calculated by the price displayed to customer not the one in database, almost all invoices my system generates are invalid because of this issue same goes for tax.

Can anyone give me solution to resolve this issue or suggest where can i start fixing it? (OpenCart 2.0.3.1 used)
Looking forward to hear from anyone with solution or suggestions.