Zen Cart Logo

Set Currency via URL

Locked

Views: 2,170

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
26 Mar 2014, 10:30 AM
#1
gohealth avatar

gohealth

New Zenner

Join Date:
Nov 2011
Location:
Brisbane, Australia
Posts:
35
Plugin Contributions:
0

Set Currency via URL

Hi,

I have correctly setup and use multi-currencies. No issues here. I use a default currency of Australian Dollars AUD. Again, all good. I have a requirement to provide a URL to a Shopping network that brings the user to the site and defaults the currency to USD. In other words, I want to provide a URL of my site that will set the Currency without user intervention.

For example, https://www.myhealthhub.com.au?currency=USD. This would bring the user to the site with the currency swapped from the default AUD to USD.

Anyone done this with a URL Parameter?

Thanks,
Chris

26 Mar 2014, 10:33 AM
#2
gohealth avatar

gohealth

New Zenner

Join Date:
Nov 2011
Location:
Brisbane, Australia
Posts:
35
Plugin Contributions:
0

Re: Set Currency via URL

Sorry, this can be closed. Upon posting, I found a similar thread answered:

"Simply adding &currency=USD will change the store into that currency, for that customer's shopping session.