M_A_D_C_A_T Posted April 25, 2004 Posted April 25, 2004 Hi everyone Im having a prob with displaying the price of items in the catalog - they are coming up as 0 I removed all the currencies from the localization section and added the Australian dollar with the following settings: Title:AUS Dollar Code:AUD Symbol Left:$ Symbol Right: Decimal Point:. Thousands Point:, Decimal Places:2 Value:1.00000000 I hit the update button - it updated ok I hit the update currencies button, and it found the exchange rate ok As i saw in another post, I changed the line in the english.php to // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'AUD'); I also have no tax rates displayed in the tax section Now every item in the catalog is shown in the catalog as having a price of 0, but in the admin section the prices are shown?! Any suggestions are appreciated Travis
M_A_D_C_A_T Posted April 25, 2004 Author Posted April 25, 2004 I was digging around in the code, and ive concluded that the display_price function is getting the correct values, and the corect values are being passed to the $currencies->format function. Somewhere in that function it is returning 0 instead of the correct value I have NOT modified the code in either product_info.php or currencies.php
M_A_D_C_A_T Posted April 26, 2004 Author Posted April 26, 2004 Hi, i found what was missing: Switch To Default Language Currency = false oops :) I set it to true, and it all works now
Splatter Posted April 30, 2004 Posted April 30, 2004 Where did you change the true statement to False? Splatter
Splatter Posted April 30, 2004 Posted April 30, 2004 Found it.. just had to look deeper.... thanks Splatter
Recommended Posts
Archived
This topic is now archived and is closed to further replies.