csCart Team fixed this bug for me (and charged me credits for the privilage) so I thought it may help others.,
Localization settings were still effecting the cart operation even when they were disabled. Causing much confusion when products and shipping would not be shown properly and NO localization would be selected, rather than the expected Default Localization.
But for the purpose of fault finding:
Heres the fix they gave me:
In order to fix this bug please replace the following part of code:
<br />
$_ip = fn_get_ip(true); <br />
$_country = fn_get_country_by_ip($_ip['host']); <br />
$_lngs = db_get_hash_single_array("SELECT lang_code, 1 as 'l' FROM ?:languages", array('lang_code', 'l')); <br />
$_language = fn_get_browser_language($_lngs); <br />
<br />
$cart_localization = db_get_field("SELECT localization_id, COUNT(localization_id) as c FROM ?:localization_elements WHERE (element = ?s AND element_type = 'C') OR (element = ?s AND element_type = 'L') GROUP BY localization_id ORDER BY c DESC LIMIT 1", $_country, $_language); <br />
<br />
if (empty($cart_localization)) { <br />
$cart_localization = db_get_field("SELECT localization_id FROM ?:localizations WHERE is_default = 'Y'"); <br />
} <br />
}<br />
```<br />
with this one:<br />
```php
<br />
$_ip = fn_get_ip(true); <br />
$_country = fn_get_country_by_ip($_ip['host']); <br />
$_lngs = db_get_hash_single_array("SELECT lang_code, 1 as 'l' FROM ?:languages WHERE status = 'A'", array('lang_code', 'l')); <br />
$_language = fn_get_browser_language($_lngs); <br />
$cart_localization = db_get_field("SELECT localization_id, COUNT(localization_id) as c FROM ?:localization_elements WHERE (element = ?s AND element_type = 'C') OR (element = ?s AND element_type = 'L') GROUP BY localization_id ORDER BY c DESC LIMIT 1", $_country, $_language); <br />
if (empty($cart_localization) || empty($locs[$cart_localization])) { <br />
$cart_localization = db_get_field("SELECT localization_id FROM ?:localizations WHERE status = 'A' AND is_default = 'Y'"); <br />
} <br />
}<br />
```<br />
in the "fn.init.php" file, located in the "core" directory.<br />
<br />
---<br />
<http://www.remoteone.com.au/> visit remoteONE.com.au