Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

language+currency issue


h90

Recommended Posts

With the option "Switch to Default Language Currency"=true it works well if a customer switches to German he get Euro.

If a US customer switch to English he get USD.

 

While this is fine for German language, but if say a French customer who speaks english, clicks on english, he get USD. If he switch to Euro, it switches back every time he update something, which is terrible.

 

Can I set: "Switch to Default Language Currency"=false

 

And that customer get the right currency when they select their language, adding a "currency=XXX" to the language selection box.

 

Actually this:

 

reset($lng->catalog_languages);

while (list($key, $value) = each($lng->catalog_languages)) {

$languages_string .= ' <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a> ';

}

 

 

must be the key to it, but I don't know how to modify it, beside replacing the box with a html coded one.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...