theme is dawn.
I have a customizable product form, multiple steps, and to regather customers, we are asking for an email address in the middle of the form.
I am currently using a product form and that works great, but I need the email to send to the customer form action, not as a product line item like the rest of my data.
one thought was to display a newsletter form halfway through, but overlay it, so it is not a form within a form. But I wasn’t sure if that is bad for usability. Probably the easiest option though as I can use the themes built in form functions.
I have figured out how to use Ajax to submit the product to the cart, but can’t get it to work for email. Not sure if I used the wrong action url.
My final thing I will try is using a newsletter form, and adding product fields in there, and sending that to the cart with Ajax, and using the regular post for the newsletter.
I figured ideally it would be best to do one form with two Ajax posts, one to cart one to customer. But not sure how to split the data so only the necessary info is sent to each place.