Jump to content

Set a default currency in front and another in back


Recommended Posts

Hi guys,

I have a slight problem,
I want to have the default currency in euro , but when a user enters the site to see the prices by default in $.
I had managed to edit tools.php like this:

    $cookie->id_lang = $id_lang;
           switch($id_lang) {
 case '3':
   $cookie->id_currency=4; //1 is the currency id for selected language_id1
break;
} 



So when i chose the language 3 , it automatically makes the prices viewable in $.
But only when the user changes the language , even if this is the default language.

Any ideea on this one ?

Regards,
Ghostantin

Link to comment
Share on other sites

What is the reason to have two currencies, when the default for users is dollars ???

I think you should let the user change the currency setting, or just use 1 currency if possible.
Hacking the core files is not recommended and makes upgrading harder

Link to comment
Share on other sites

  • 4 months later...
×
×
  • Create New...