I've looked at it a couple of times but can't figure this out. It looks like there's a couple of ways to do this but I'm looking for the non-query-string method. What I'd like to pre-populate is the State FIeld but apparently anything not a US state doesn't work. Would this be because the Country needs to be set to New Zealand first? Would prepopulating Country wih New Zealand force a "Region" field replacing the "State" because that's what we use in NZ.
Thanks in advance.
For a non-query string method, do you mean you have a form? If so, just add hidden inputs like so:
Please let us know if you run into any trouble.
Also, just to be clear, these key names you used here are different than the ones used in the wiki. Are they old or just version dependant? I'm on an old version (v2.9
If you're passing things through the URL... then you're using a query string, right? And yes, it would have to be a query string per item like so:
For what it's worth, the titles on prepopulated logins don't exactly work without being forced into using graphical headers. If you're bypassing the login, then "Login or Register" doesn't make a lot of sense I don't think.
I'm doing this by the following example:
For what it's worth, removing the %2b from the email seems to make no difference (html entity used for testing in conjunction with gmail mail for adding a "+testIDhere" info).
"I'm always getting an error even with an email stating to "enter your email address" and always having a continue button. Does anyone see a similar error?"
I'm sorry, I'm a little confused. When I used the link above and put in my own subdomain, it worked just fine (in Firefox). What is the exact error you're getting? What browser are you using?
I was getting that error when I included the foxycart js on the checkout page, maybe that could be hindering your login.
Would that be helpful if we just look for foxycart_includes.js and strip it out?
Thanks!