Email address should continue to be optional. This is extremely useful where I want to generate a batch of gift certificates, which will be sold through other means than the ubercart website.

Each gift certificate has its certificate code, but does not get associated with a user, until a non-anonymous user tries to use that particular gift certificate code.

If a registered, non-anonymous user, then tries to place an order, using a certificate code that is not yet associated with a user or order, then it should get associated with this user's ID.

CommentFileSizeAuthor
uc_gift_certificate.module.patch689 bytesdbh01

Comments

dbh01’s picture

Assigned: dbh01 » Unassigned
jrust’s picture

Where in the code does this patch go?

jrust’s picture

Status: Needs review » Closed (won't fix)

Gift certs are now always associated with a user. The coupon or uc_discounts_alt module is the better solution for anonymous discount codes.