colinr Posted June 19, 2003 Posted June 19, 2003 Is it possible to select a default currency for an individual entering my osCommerce shop based on a query string? I have a homepage that links to the shop and I want the user to choose their location on the homepage by clicking a flag. Based on this the shop will display in their currency, is there a variable I can pass to set the currency at this point? eg: http://www.mysite.com/catalog/?currency=GBP Thanks, Colin
dahammer2 Posted June 19, 2003 Posted June 19, 2003 Thats exactly how you do it Oscommerce has the currencies box (by default on the righthand bottom column) and it works using that exact same variable eg yoursite/default.php?currency=USD will change it to USD as long as your install supports USD and u put in the right country code.. goto yoursite/admin/currencies.php?selected_box=localization in your setup to see which currencies you have available and their code's
colinr Posted June 19, 2003 Author Posted June 19, 2003 Don't I feel stupid now :) I must've made a typo when I tested that query string. Anyhow, it works and that's what matters. Thankyou for the extremely swift response.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.