Currently, validation of Recipient's Email is done only by add_to_cart hook which means all the form info is lost if it's invalid. Also add it as a form validation hook.
Currently, validation of Recipient's Email is done only by add_to_cart hook which means all the form info is lost if it's invalid. Also add it as a form validation hook.
Comments
Comment #1
jrust commentedFixed in CVS
Comment #2
torgospizzaMore to the point, do we need to require an email address? For our site we're also selling printed certificates, which will never have an email address (for the recipient). I think we should check for an email address as the logic currently stands, and if an email address is not found, it should use the purchaser's email address instead.
Comment #3
jrust commentedI agree, let the admin decide whether or not to make the attribute required.