Guest Posted November 14, 2008 Share Posted November 14, 2008 I'm having problems with sorting this out to stay with GB Pounds Every time I add a new currancy GB Pounds and delete Dollers and Euro the total prices of the items are lost, Even leaving them in and making the GB Pound default it still changes back to dollers? Anyone know whats going on here . I was told to change the following: look in catalog\includes\languages\english.php and make // 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'); this // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'GBP'); You may also have to set Admin ---> My Store --- > Default Language Currency to true. This is all done but now have no website at all and only get the following error Parse error: syntax error, unexpected T_STRING in /home/rcplansu/public_html/phoenix/hanger/includes/languages/english.php on line 79 The problem is here somewhere //// // Return date in raw format // $date should be in format mm/dd/yyyy // raw date is in format YYYYMMDD, or DDMMYYYY function tep_date_raw($date, $reverse = false) { if ($reverse) { return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4); } else { return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2); } } // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'GBP'); // Global entries for the <html> tag define('HTML_PARAMS','dir="LTR" lang="en"'); // charset for web pages and emails define('CHARSET', 'iso-8859-1'); // page title define('TITLE', 'osCommerce'); Thanks for your help Link to comment Share on other sites More sharing options...
FIMBLE Posted November 14, 2008 Share Posted November 14, 2008 is this your line 79? // whats_new box text in includes/boxes/whats_new.php define('BOX_HEADING_WHATS_NEW', 'What\'s New?'); Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.