Guest Posted April 13, 2004 Posted April 13, 2004 Hi Folks, I am tearing my hair out now. I have created some products and the problem I am having is the prices are reading 0 when I view from the main browser. The strange thing is when I preview the products the price is there. I have gone to the currency settings and all seems to be ok, all set top GBR. Help will be greatly appreciated Mark :unsure:
Guest Posted April 13, 2004 Posted April 13, 2004 Typical, I have it working now. I knew that would happen as soon as I made a post. :angry:
Guest Posted April 13, 2004 Posted April 13, 2004 I orignally had one currency as I only needed one, on doing this it made all products 0. I tried adding another currency and it seems to work. Just make sure that you select the right currency on the homepage. Good luck!!
241 Posted April 14, 2004 Posted April 14, 2004 MarkR If your one currency was pounds GBP then you need to change the default in english.php to GBP from USD. here this makes for a more UK orientated site English Default catalog/includes/languages/english.php line# 19-45 @setlocale(LC_TIME, 'en_UK.ISO_8859-1'); define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'd/m/Y'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); //// // Return date in raw format // $date should be in format dd/mm/yyyy // raw date is in format YYYYMMDD, or DDMMYYYY function tep_date_raw($date, $reverse = false) { if ($reverse) { return substr($date, 0, 2) . substr($date, 3, 2) . substr($date, 6, 4); } else { return substr($date, 6, 4) . substr($date, 3, 2) . substr($date, 0, 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'); then Line# 73 define('DOB_FORMAT_STRING', 'dd/mm/yyyy'); then line# 186-187 define('ENTRY_DATE_OF_BIRTH_ERROR', 'Your Date of Birth must be in this format: DD/MM/YYYY (eg 21/05/1970)'); define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 21/05/1970)'); all line numbers are approximates as my code is modified. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
pinbrook Posted April 14, 2004 Posted April 14, 2004 Excellent Thanks guys! using one currency was my problem I now have another.....all my prices show as ?0200. regardless of the price which is something like ?16.50 or ?20.00
pinbrook Posted April 14, 2004 Posted April 14, 2004 sussed it.....2 probs. one was I set decimal point to 2 rather than . I set value to 0 and not 1
Recommended Posts
Archived
This topic is now archived and is closed to further replies.