Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Auto switching currency with language switching


gengen

Recommended Posts

Hi, I have tried a long to search the site but still can not find the solution, please help me here if you can. thanks

 

I have installed Chinese Language package with code="zh"

 

then i have added a new currency with code="CNY"

 

both these should be the standard ISO code.

 

I also selected switch to language current when switching language, but it does not works. when i switch to chinese, all prices are shown as 0.

 

I am not sure what shall I do to link the language to the currency, anyone can help? thanks a lot

cheers

gengen

 

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

if you give up, then you fail; if you try one more time, you MAY succeed!!

Link to comment
Share on other sites

Hi, I have tried a long to search the site but still can not find the solution, please help me here if you can. thanks

 

I have installed Chinese Language package with code="zh"

 

then i have added a new currency with code="CNY"

 

both these should be the standard ISO code.

 

I also selected switch to language current when switching language, but it does not works. when i switch to chinese, all prices are shown as 0.

 

I am not sure what shall I do to link the language to the currency, anyone can help? thanks a lot

 

 

you have set this in your language file ?

 

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

define('LANGUAGE_CURRENCY', 'TWD');//預設值,等新增貨幣後再回來改這裡

 

for you it should be CNY ofcourse

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...