I am not a coder. Ubercart seems to grab the first matching email address and not check for name etc. and so gets the wrong one at least half the time. Is there a way to avoid this behavior?

CommentFileSizeAuthor
#2 ubercart_sharedemail-7.x-dev.tar_.gz1.91 KBv8comp

Comments

mgladding’s picture

I'm interested in Ubercart compatibility, too.

v8comp’s picture

Issue summary: View changes
StatusFileSize
new1.91 KB

I had this requirement for Drupal 7/Ubercart 3. Managed to create a module that gives some level of integration without requiring changes to either Shared Email or UC Cart.

It uses hook_checkout_pane_alter to intercept the checkout form callback (for validation) and hook_menu_alter to intercept checkout completion, where it creates the new user with duplicate email address if necessary before UC Cart does anything. With this module enabled a new user will always be created during anonymous checkout, the order will never be attached to an existing user.

v8comp’s picture

Version: 6.x-1.5 » 7.x-1.x-dev
baikho’s picture

Status: Active » Closed (outdated)