Author |
Topic |
|
anatur
Starting Member
42 Posts |
Posted - September 29 2008 : 01:48:44
|
Hi
Operating with more than one currecy you set a conversionvalue for each currency. However is it a way to adjust the price up or down? (For exs. when main currency is 100,- another currency set by the conversionvalue would be 76,48) - I like to adjust this to round figure like 76,- or 77,- even maybe 76,50 - hope I explain myselve understandable.
Also at the order invoice - is it any adjustment posibilities?
thanks |
|
anatur
Starting Member
42 Posts |
Posted - October 10 2008 : 23:47:39
|
If this is not possible - can someone please tell me?
thanks |
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - October 11 2008 : 08:44:42
|
With standard vpasp multi-ccy you wouldn't be able to do that because the items wouldn't match up to the totals because it does the conversion to each item and then to the total.
it doesn't add up the converted item amounts and then create the converted total amount from that converted items sum, instead it converts each amount from the base currency, which gives you a different total in some instances when the rounding is significant.
If you wanted to do what you're after then you'd need to totally change the way that the multi-ccy system works, so that it converts the items, and then uses the converted sum of the items for the totals, and you also might want to change the base-currency amounts accordingly; I think it'd get quite complex.
We created a multiple-currency addon a while ago which converts the items and then sums the converted items to get the totals (to avoid rounding problems), and that could in theory be used to do what you're after, but it's a big addon which takes quite a while to get setup so we don't offer it off-the-shelf anymore, instead we use it as a base when people want the kind of customised tweaks that you're after for multi-ccy (it records and lets you display historic conversion, so you can see what people actually paid in their chosen currency and what the corresponding base-ccy amounts were, at the time of the order, even after you've changed the rates)
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
|
|
anatur
Starting Member
42 Posts |
Posted - October 11 2008 : 08:57:20
|
Hi
Thank you for intresting information.
Even at check out - it is also no rounder field? That I see in many carts.
thanks
Terje |
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - October 11 2008 : 09:03:52
|
You can round to however many decimal places you want via normal vpasp config options (xdecimalplaces I think it is), but what effect that'd have on standard multi-ccy is something you'd need to test out; I haven't tried it but my guess is that it'd make the items mis-match with the totals. Rounding up/down to the nearest x places is obviously different to rounding to, say, the nearest half a dollar etc though.
When we looked into rounding issues for our multi-ccy addon we couldn't find a reliable way to do it with standard vpasp unless you changed lots of logic across the cart; it ends up a lot more complex than it looks at first sight.
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
|
|
anatur
Starting Member
42 Posts |
Posted - October 11 2008 : 09:13:09
|
Thanks Simon
I will test that out
Terje |
|
|
|
Topic |
|