Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Same language, different currency?


Guest

Recommended Posts

I have been trying to add a Canadian "language" (using american english files :wink: ) so that users can select the canadian flag and get all prices in Canadian dollars instead of US dollars.

 

What I seem to be missing, is how the language gets related to the currency. What's the trick?

 

Bryan

Link to comment
Share on other sites

What I seem to be missing, is how the language gets related to the currency. What's the trick?

 

Look in english.php or canadian.php ;)

 

For the following

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)

define('LANGUAGE_CURRENCY', 'USD');

 

:)

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...