Mailing List Archive

2 currencies for price?
Hello,
Can someone please tell me how to have 2 currencies(i want Greek and
Euro) for a product price and how to calculate both at the
the check out?


Thomas
2 currencies for price? [ In reply to ]
Thomas, for our B2B system for our distributors, one is in England and
when they connect in, they not only see their purchase from from us in
US$, but also their suggested resale price in US $ and in British
Pounds.

I do this with the setlocale tags

[setlocale locale=en_US currency=en_US]
and
[setlocale locale=en_UK currency=en_UK]

Barry

"Thomas N. Stefanidis" wrote:

> Hello,
> Can someone please tell me how to have 2 currencies(i want Greek and
> Euro) for a product price and how to calculate both at the
> the check out?
>
> Thomas
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users

--

Barry Treahy, Jr * Midwest Microwave * Vice President & CIO

E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
2 currencies for price? [ In reply to ]
Thomas,

A good answer to your question can be found in the FAQ if Interchange:
http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq07%2e16

The FAQ answer calculates (PriceDivide) the Euro price from the default
price field in your products database. However, my experience is that you
get better results by assigning a special field to the euro price, in your
products database. In this field you put the correctly truncated euro price
calculated from your Greek value. You have to skip the PriceDivide line in
catalog.cfg and substitute it for:

Locale eur_EUR PriceField priceEur

Why? If you use PriceDivide you can get confusing results on your basket and
checkout page due to round off differences on the Greek prices. You can get
things like:
article 1 : 4.45 Eur
article 2 : 5.55 Eur
Total : 9.99 Eur

With a seperate euro price field this will not happen.

Regards
Bas

PS: You can apply this to any database system and operating system of choice
;-).

>
> > Hello,
> > Can someone please tell me how to have 2 currencies(i want Greek and
> > Euro) for a product price and how to calculate both at the
> > the check out?
> >
> > Thomas
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
>
> --
>
> Barry Treahy, Jr * Midwest Microwave * Vice President & CIO
>
> E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>