Post by jimmydahl » Mon Jun 07, 2010 12:57 am

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?

Newbie

Posts

Joined
Wed May 26, 2010 4:46 am

Post by jimmydahl » Fri Jun 11, 2010 12:18 am

Doesn't anybody have any ideas?

Newbie

Posts

Joined
Wed May 26, 2010 4:46 am

Post by Qphoria » Fri Jun 11, 2010 12:40 am

change your currency decimal value to 0

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jimmydahl » Sat Jun 12, 2010 10:01 pm

Ahh - I don't know how I missed that, but its brilliant and solves the problem just fine!

Newbie

Posts

Joined
Wed May 26, 2010 4:46 am

Post by olka » Thu Feb 03, 2011 4:37 pm

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.

Newbie

Posts

Joined
Tue Dec 14, 2010 4:26 pm
Who is online

Users browsing this forum: No registered users and 2 guests