Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

currency issue - not staying in selected currency


ausaz

Recommended Posts

Posted

Hi all.

I am having an issue with the currency that seems a little different to the ones i've found in the forums so far. My default currency is AUD. When customers choose to view prices in another currency, it displays fine on the home page, but reverts back to AUD when an individual product is selected. If they select another currency from the individual item page, it stays in the selected currency all the way to checkout. Is there any way for it to do this from the first time the new currency is selected?

 

Thanks!

Posted

total guesswork follows:

 

It sounds as if the session variable is not being set on the home page. Why that should be I don't know. Have you modified this page in some way? Maybe the session is being lost between this page and the next. Perhaps you should check that the links are correct. There is a bit of code $currencies = new currencies(); in some files. Could this be relevant?

 

(Please don't double post.)

  • 1 month later...
Posted

Hello. I'm having the same problem. Every time you click on something the currency reverts to default. The only manual changes I've done are to the layout and shouldn't have anything to do with that.

 

Any ideas?

Posted

Same problem. Anyone can help us?

 

Thanks in advance

 

Hello. I'm having the same problem. Every time you click on something the currency reverts to default. The only manual changes I've done are to the layout and shouldn't have anything to do with that.

 

Any ideas?

Posted

SOLVED :-)

 

in includes/languages/english.php include:

define('LANGUAGE_CURRENCY', 'GBP');

 

(or the default currency you prefer)

 

in admin/includes/application_top.php add at the beginning:

define(USE_DEFAULT_LANGUAGE_CURRENCY,true);

 

 

Same problem. Anyone can help us?

 

Thanks in advance

Posted
SOLVED :-)

 

in includes/languages/english.php include:

define('LANGUAGE_CURRENCY', 'GBP');

 

(or the default currency you prefer)

 

in admin/includes/application_top.php add at the beginning:

define(USE_DEFAULT_LANGUAGE_CURRENCY,true);

Hi Mate , my currency keeps going back to US Dollar but I need it to stay on EURO !

Can You help me out

Thanks in advance

Posted

define(USE_DEFAULT_LANGUAGE_CURRENCY,true);

 

set this to

 

define(USE_DEFAULT_LANGUAGE_CURRENCY,false);

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
define(USE_DEFAULT_LANGUAGE_CURRENCY,true);

 

set this to

 

define(USE_DEFAULT_LANGUAGE_CURRENCY,false);

 

Satish

Hi Satish. I am not very P.C. literate. Is there any way you could give me step by step directions to do this. I tried to do so with the info you gave me but could only go so far ( probably in the complete opposite direction!!)

I would very much appreciate it. thanks again.

Posted
Hi Satish. I am not very P.C. literate. Is there any way you could give me step by step directions to do this. I tried to do so with the info you gave me but could only go so far ( probably in the complete opposite direction!!)

I would very much appreciate it. thanks again.

Sorted it. Just had to experiment abit :thumbsup:

  • 2 weeks later...
Posted
Sorted it. Just had to experiment abit :thumbsup:

 

 

For those of you having the same problem and find it hard to read code:

 

There is an option in the admin control panel under

 

Admin --> Configuration --> My Store --> Switch To Default Language Currency

 

Switch it to false

Archived

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

×
×
  • Create New...