Forums / Basic Configuration / currency problem - store is opening in USD when I set my default to GBP

currency problem - store is opening in USD when I set my default to GBP

Locked

Started by kenshirou on 21 Jun 2013, 2:56 PM · Views: 1,649

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
21 Jun 2013, 2:56 PM
#1
kenshirou avatar

kenshirou

Zen Follower

Join Date:
Oct 2012
Posts:
109
Plugin Contributions:
0

currency problem - store is opening in USD when I set my default to GBP

Hi all, I seem to be having a problem with my currency. I have set up GBP as my default currency within localization on admin panel. When I view a product within the back end it displays the price with a pound sign £, however when I view the product on the website it still displays the item with a dollar instead.

21 Jun 2013, 4:28 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: currency problem - store is opening in USD when I set my default to GBP

Your english.php language file probably still has the DEFAULT_LANGUAGE_CURRENCY set to USD.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Apr 2016, 9:33 PM
#3
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: currency problem - store is opening in USD when I set my default to GBP

I have this problem the opposite way round with v155.

The store's default currency is USD. The DEFAULT_LANGUAGE_CURRENCY is set to GBP in /includes/languages/english.php, /includes/languages/mytemplate/english.php and in myadmin/includes/languages/english.php

'switch to default language currency' is set to True

But the default currency visitors see is USD.

You may think it odd that I want the store default to be different to the customers default; the reason is that this store sells in GBP but buys in USD and they want any changes in exchange rates to be immediately reflected in their prices.

How can I force the prices to be shown in GBP?

4 Apr 2016, 1:26 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: currency problem - store is opening in USD when I set my default to GBP

hairydog:

I have this problem the opposite way round with v155.

The store's default currency is USD. The DEFAULT_LANGUAGE_CURRENCY is set to GBP in /includes/languages/english.php, /includes/languages/mytemplate/english.php and in myadmin/includes/languages/english.php

'switch to default language currency' is set to True

But the default currency visitors see is USD.

You may think it odd that I want the store default to be different to the customers default; the reason is that this store sells in GBP but buys in USD and they want any changes in exchange rates to be immediately reflected in their prices.

How can I force the prices to be shown in GBP?


Actually, you simply set the "default currency" (in Localization->Currencies) to be GBP instead of USD

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.