Guest Posted November 22, 2008 Share Posted November 22, 2008 My oscommerce version is Oscommerce 2.2-MS2. When i update currency rate in the admin panel,that time i didn't have any internet connection. a group of warning message occured. but in oscommerce 2.2 v2 rc2 it shows the warning "Failed to update currency rate through xe and onda.". I want to display this message in my oscommerce 2.2 ms2 version when the admin lost his internet connection. please help me I used an oscommerce code in includes/application_top.php that automatically update the currency rate. if the customer lost his internet connection, then the currency rate of GBP,EUR goes to Zero . the following query willl update the currency rate table tep_db_query("update currencies set value = ". $GBP_EUR ." where code = 'EUR'"); tep_db_query("update currencies set value = ". $GBP_USD ." where code = 'USD'"); can you please help me to avoid this? Link to comment Share on other sites More sharing options...
satish Posted November 22, 2008 Share Posted November 22, 2008 Are you trying to use some online currency rate site to get the conversion rates. 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.