Post by chll » Mon Feb 03, 2014 3:33 am

Suppose a website run in 4 currencies: USD, EURO, Japan YEN and South Korean won. USD is the default currency

For Product A, I set the USD price to be 19.90 USD, the opencart convert it to 14.75EURO, 2031.6 Yen and 21549 Won

Is it possible that the price to be rounded to 14.99EURO, 2099Yen and 21999 Won?

Thank you

New member

Posts

Joined
Thu Nov 28, 2013 9:52 pm

Post by tarheit » Mon Feb 03, 2014 4:00 am

Yes, you can define how many decimal places you want for each under currency in the System->Localization menu.

New member

Posts

Joined
Wed Jan 22, 2014 5:16 am

Post by chll » Mon Feb 03, 2014 4:48 am

tarheit wrote:Yes, you can define how many decimal places you want for each under currency in the System->Localization menu.
However, if it is rounded up to 2032 yen, it is still not a pretty value

New member

Posts

Joined
Thu Nov 28, 2013 9:52 pm

Post by tarheit » Mon Feb 03, 2014 5:04 am

I'm not aware of any mod that does that (ie. round up to nearest euro -1, nearest 100 yen -1, etc.)

Should be reasonably easy to do though by modifying the currency calculation.

New member

Posts

Joined
Wed Jan 22, 2014 5:16 am

Post by chll » Mon Feb 03, 2014 4:29 pm

tarheit wrote:I'm not aware of any mod that does that (ie. round up to nearest euro -1, nearest 100 yen -1, etc.)

Should be reasonably easy to do though by modifying the currency calculation.
Yes, it is useful for multi-currency site and is relatively easy, I hope there is one extension like that soon

New member

Posts

Joined
Thu Nov 28, 2013 9:52 pm

Post by chll » Wed Feb 05, 2014 12:54 am

there are 2 additional value to configure for each currency
1: to determine the currency to be round to nearest 0.01,0.1,1,10 or 100
2: to determine what value to minus to the rounded value by step 1

for example:
To round the Japanese Yen from 2031.6 to 2099, it means that the yen should be rounded to nearest 100, and minus 1 upon that

New member

Posts

Joined
Thu Nov 28, 2013 9:52 pm
Who is online

Users browsing this forum: Majestic-12 [Bot] and 66 guests