View Single Post
  #14  
Old 08-08-2006, 07:05 PM
 
koaloa koaloa is offline
 

Member
  
Join Date: Jul 2006
Posts: 17
 

Default

Hey guys,
My reference to "shop.php" is the main shop.php script used by X-Cart. What I'm doing is causing the original page to be reloaded with the new currency values displayed (regardless of which page of the site they are on). This is not a script I've created. It's really a detail, nothing so tricky really.

If you're not getting values to appear in your combo-box I think the problem is elsewhere. Are you sure you entered the right values into the mySQL table/database? The function "func_koa_get_currency_rates" (in the "show_currency_options.tpl" file) makes a mySQL call to get all entries from the "xcart_currencies" table, but ONLY if they have a rate value that is not equal to zero (rate != '0'). This code that populates the combo is really simple. So make sure you've set these values appropriately and you should see your combo populated.

Hope this helps.
__________________
X-Cart Gold v4.1.2
(running on a unix server)
Reply With Quote