Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Keeps Switching Back to Default Currency


1Putts

Recommended Posts

Posted

I have two currencies. When I switch to the non-default currency, it flips the pricing accordingly. But on the next action (add to cart, browse more products etc) it switches back to the default.

 

I've made so many mods that I don't really know if this just started happening or if I broke it a while ago - so my question is:

 

Is this "normal" behavior? If not, what are the pertinent files where I might have broken this function?

 

TIA.

Posted
I have two currencies. When I switch to the non-default currency, it flips the pricing accordingly. But on the next action (add to cart, browse more products etc) it switches back to the default.

 

I've made so many mods that I don't really know if this just started happening or if I broke it a while ago - so my question is:

 

Is this "normal" behavior? If not, what are the pertinent files where I might have broken this function?

 

TIA.

 

Um, never mind...it seems that I had enabled "Switch to default language currency" in the admin store set-up. I guess this does exactly what it implies...duh. Switched it to FALSE and it works fine.

Posted

There is a caveat however when you switch "Switch to default language currency" to false ! I have my shop setup for the Euro and the US dollar with a Dutch and English language part of the site. When "Switch to default language currency" is set to true everyone coming to the Duch language part of the shop will default see prices in Euros and people going to the English part of the shop will have US dollars as default.

When I switch it to false my default currency (the Euro) will appear for the the Dutch and English part of the shop.

I did like the switching of currency depending on the language you choose but after reading your message I am not so sure if it indeed is not wiser to just put it to false.

The problem I also had was when a customer went to the English part of the shop but wanted to see prices in Euros. He/she could change that for the actual page but any change in that forced prices to be shown in Euros again.

 

Happy New Year !

Posted
There is a caveat however when you switch "Switch to default language currency" to false ! I have my shop setup for the Euro and the US dollar with a Dutch and English language part of the site. When "Switch to default language currency" is set to true everyone coming to the Duch language part of the shop will default see prices in Euros and people going to the English part of the shop will have US dollars as default.

When I switch it to false my default currency (the Euro) will appear for the the Dutch and English part of the shop.

I did like the switching of currency depending on the language you choose but after reading your message I am not so sure if it indeed is not wiser to just put it to false.

The problem I also had was when a customer went to the English part of the shop but wanted to see prices in Euros. He/she could change that for the actual page but any change in that forced prices to be shown in Euros again.

 

Happy New Year !

 

set your default currency in your language file for that.

Treasurer MFC

Posted
set your default currency in your language file for that.

 

Hello Amanda,

 

Thanks for your reply but I am not sure if I understand what you mean ?

I assume you are pointing to the currency setting within my dutch.php and english.php. The first has

define('LANGUAGE_CURRENCY', EUR');

the second

define('LANGUAGE_CURRENCY', 'USD');

 

How could this change to what I had before switching "Switch to default language currency" to false ?

If I set it to true one side of the shop is EUR and the other USD by default but switching currency within either side of the shop is a one time effect. When I set it to false everything is in Euros but you can change to USD for the lifetime of the session. On second thought that last seems to be best as I hadn't realized enough first that European buyers probably would enter the English part of the shop but still want to see prices in Euros. For USD interested customers there is always the option to switch to that currency.

If there is another trick to it I would like to know very much !

 

Thanks

Posted
Hello Amanda,

 

Thanks for your reply but I am not sure if I understand what you mean ?

I assume you are pointing to the currency setting within my dutch.php and english.php. The first has

define('LANGUAGE_CURRENCY', EUR');

the second

define('LANGUAGE_CURRENCY', 'USD');

 

How could this change to what I had before switching "Switch to default language currency" to false ?

If I set it to true one side of the shop is EUR and the other USD by default but switching currency within either side of the shop is a one time effect. When I set it to false everything is in Euros but you can change to USD for the lifetime of the session. On second thought that last seems to be best as I hadn't realized enough first that European buyers probably would enter the English part of the shop but still want to see prices in Euros. For USD interested customers there is always the option to switch to that currency.

If there is another trick to it I would like to know very much !

 

Thanks

 

basically, switching currency with language is ok when you have distinct differences. But if you have different currencies for the same language (us, can, uk, etc.) it is not a good idea.

 

I just let the user decide:

 

if people have taiwanese in their browser language they get chinese with the default currency taiwan dollars. They can switch to other currencies.

In all other events, the user gets english with the default USD currency.

Treasurer MFC

Posted
basically, switching currency with language is ok when you have distinct differences. But if you have different currencies for the same language (us, can, uk, etc.) it is not a good idea.

 

I just let the user decide:

 

if people have taiwanese in their browser language they get chinese with the default currency taiwan dollars. They can switch to other currencies.

In all other events, the user gets english with the default USD currency.

 

Then it should be okay as I have changed it to now (false). I guess it is better to have one default euro for all languages and let those customers interested in the USD decide if they want to change it to that.

It is good to just read through the board frequently and find these little things which seem obvious at first but whose impact can be much more if not set correctly :)

 

Ejoy your New Years eve and thanks for the clarification !

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...