TONYSHOES Posted October 8, 2008 Share Posted October 8, 2008 Hello OSC Community, We noticed that our products have prices but they become $0.00 as soon as you click 'Add to Cart'. Please help us solve this issue. Thank you very much. :) Link to comment Share on other sites More sharing options...
ktshannon Posted October 8, 2008 Share Posted October 8, 2008 Going to need more information. What have you installed? When did it occur? Is it only in the shopping cart? Did you try replacing the original file to see? Link to comment Share on other sites More sharing options...
TONYSHOES Posted October 10, 2008 Author Share Posted October 10, 2008 Going to need more information. What have you installed? When did it occur? Is it only in the shopping cart? Did you try replacing the original file to see? Thank you kyle. Our site is www.shoemallcanada.com. We installed the ms2 2.2. Right now, there is no ssl setup yet. The price shows zero when we click on add to cart. We already checked the language setting for the currency and the default language and currency in the admin based on some recommended fixes, but we still have this issue. Thanks again. Link to comment Share on other sites More sharing options...
Guest Posted October 11, 2008 Share Posted October 11, 2008 Thank you kyle. Our site is www.shoemallcanada.com. We installed the ms2 2.2. Right now, there is no ssl setup yet. The price shows zero when we click on add to cart. We already checked the language setting for the currency and the default language and currency in the admin based on some recommended fixes, but we still have this issue. Thanks again. Did you delete the USD? Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted October 11, 2008 Share Posted October 11, 2008 What are your conversion rates set to? Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
TONYSHOES Posted October 14, 2008 Author Share Posted October 14, 2008 Thank you kyle. Our site is www.shoemallcanada.com. We installed the ms2 2.2. Right now, there is no ssl setup yet. The price shows zero when we click on add to cart. We already checked the language setting for the currency and the default language and currency in the admin based on some recommended fixes, but we still have this issue. Thanks again. Thanks Kyle. We did not delete the USD in the english.php. Shoemallcanada.com has 2 currencies (USD and CAD). Thanks again. Link to comment Share on other sites More sharing options...
♥Vger Posted October 14, 2008 Share Posted October 14, 2008 Prices Display as Zero ---------------------- The most common cause of prices displaying as zero on your website, but showing up correctly in admin is a change to the default currency for the English language. There is a connection between languages and currencies in osCommerce. If you change the default currency for the English language to (for example) UK Pounds (symbol =GBP) then you also need to edit includes/languages/english.php and where you see 'USD' change it to 'GBP'. It was assumed when osCommerce was written that if your language was English then your currency would be US Dollars :D Vger Link to comment Share on other sites More sharing options...
TONYSHOES Posted October 14, 2008 Author Share Posted October 14, 2008 Prices Display as Zero---------------------- The most common cause of prices displaying as zero on your website, but showing up correctly in admin is a change to the default currency for the English language. There is a connection between languages and currencies in osCommerce. If you change the default currency for the English language to (for example) UK Pounds (symbol =GBP) then you also need to edit includes/languages/english.php and where you see 'USD' change it to 'GBP'. It was assumed when osCommerce was written that if your language was English then your currency would be US Dollars :D Vger Thank you for your reply. We already double check this solution and it still did not work. Any other ideas? Thanks again. Link to comment Share on other sites More sharing options...
♥Vger Posted October 14, 2008 Share Posted October 14, 2008 If you change thedefault currency for the English language to (for example) Canadian Dollars (symbol =CAN) then you also need to edit includes/languages/english.php and where you see 'USD' change it to 'CAN'. After you have done that set "Switch to default language currency" to true in osC Admin. Vger Link to comment Share on other sites More sharing options...
TONYSHOES Posted October 14, 2008 Author Share Posted October 14, 2008 After you have done that set "Switch to default language currency" to true in osC Admin. Vger Hello. Thank you for your quick reply. This is what is setup right now: includes/languages/english.php ----- 'CAD' osc admin "Switch to default language currency ------------ true osc admin default currency is Canadian Dollar ------------- 'CAD' osc admin default language is English -------------- 'en' The site's test URL is: http://209.188.85.240/~amalfi/ The prices becomes zero once you click on 'add to cart' Any ideas? Thank you very much again. Link to comment Share on other sites More sharing options...
satish Posted October 14, 2008 Share Posted October 14, 2008 in language files languages/english.php YOu have // 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'); change this to define('LANGUAGE_CURRENCY', 'CAD'); If this does not work then in currency class some how set rate to 1(only if using one currency). Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.