Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Choose currency before entering shop


Recommended Posts

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




Link to comment
Share on other sites

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



will change it to USD


as long as your install supports USD and u put in the right country code..



in your setup to see which currencies you have available and their code's

Link to comment
Share on other sites

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.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...