I want to be able to pass some variables (like city name) to the checkout page on my foxycart cached template so it can be displayed on the checkout page.
Brett, I visited the links you pointed out for other needs I have. I would like to avoid having people create a new membership on foxycart because given the seamless interface to my site, they will get confused about why they have to create a new password.
The wiki article pointed out that if I add this to my shopping cart form: <input type="hidden" name="shipping_phone" value="." /> then the checkout page would immediately show all fields and not a password field. I went ahead and added this field, however it doesn't seem to work. In fact, the "continue" button doesn't work at all when clicked on.
Am I doing something wrong? btw: thanks for offering this level of customizability!
Can you send us an example link where your form is located? You might have something else going on, because it seems to work just fine on our end. You're passing those values to the cart, correct?
As for displaying them on the checkout page, you can do that with some JavaScript. Just pull them out of the fc_json JSON object.
http://wiki.foxycart.com/docs:checkout:prepopulating
http://wiki.foxycart.com/docs:api
Brett, I visited the links you pointed out for other needs I have. I would like to avoid having people create a new membership on foxycart because given the seamless interface to my site, they will get confused about why they have to create a new password.
The wiki article pointed out that if I add this to my shopping cart form: <input type="hidden" name="shipping_phone" value="." /> then the checkout page would immediately show all fields and not a password field. I went ahead and added this field, however it doesn't seem to work. In fact, the "continue" button doesn't work at all when clicked on.
Am I doing something wrong? btw: thanks for offering this level of customizability!
the issue with the continue link not working at all also happens when I have this field in the form:
<input type="hidden" name="customer_email" value="{username}" />
when I commented out this line, everything works fine again.
(for my site, username is the email address.)
oh. and I'm going directly to the checkout page.
I hate to give you the old "it works for me" response... but... well... it works for me.