On a greeting card website I work on, we are looking to offer personalised cards as well as blank cards. Each product page will have two tabs to switch between the two card types, with an add to cart button on each tab. I am working on a prototype design where the personalised tab contains two HTML <textarea> boxes allowing the user to input their own custom text.
Is there any additional code I can use on the personalised tab's add to cart button which will save the contents of the textboxes so that when the order comes through, we also get this text through?
An alternative I've thought of is to have a 'save' button below the text boxes, which when clicked will email the custom text to us via a PHP script and tell the user to then click add to cart. However it would be excellent if this can all be done concisely just with the buy button, and for the custom text to come through at the same time as the order as opposed to 10 minutes earlier as things may get confusing!
Many thanks in advance.
Is there any additional code I can use on the personalised tab's add to cart button which will save the contents of the textboxes so that when the order comes through, we also get this text through?
An alternative I've thought of is to have a 'save' button below the text boxes, which when clicked will email the custom text to us via a PHP script and tell the user to then click add to cart. However it would be excellent if this can all be done concisely just with the buy button, and for the custom text to come through at the same time as the order as opposed to 10 minutes earlier as things may get confusing!
Many thanks in advance.
Comment