Page 1 of 1

Round off total

Posted: Mon Jun 07, 2010 12:57 am
by jimmydahl
I need to be able to round off the total of an order to 0 decimals (The site is using a currency where the decimals arn't worth that much).

How do I do?

If I change the order model to round off the total the order table in the database gets the right value but the confirmation page etc. still shows the sum of the sub-totals. Where is the total sum calculated?

Re: Round off total

Posted: Fri Jun 11, 2010 12:18 am
by jimmydahl
Doesn't anybody have any ideas?

Re: Round off total

Posted: Fri Jun 11, 2010 12:40 am
by Qphoria
change your currency decimal value to 0

Re: Round off total

Posted: Sat Jun 12, 2010 10:01 pm
by jimmydahl
Ahh - I don't know how I missed that, but its brilliant and solves the problem just fine!

Re: Round off total

Posted: Thu Feb 03, 2011 4:37 pm
by olka
Hi,

I have a similar problem, but if im going to put currency decimal value to 0 then tax calculation goes wrong, because tax is also rounded to full sum and this is not correct. Is it way to show product prices in full sum and tax calculation with 2 decimal places.