Hi,

Is there any way/module to change the order's primary e-mail address by admin?

Thanks

CommentFileSizeAuthor
#8 1904502-edit-primary-email.patch2.38 KBlongwave

Comments

DanZ’s picture

Category: feature » support

Note that you CAN change the user's primary e-mail address (by editing his user account), but that this does NOT change in the order.

The only way to do this that I know of is with a database editor such as phpMyAdmin. It's the primary_email field of the {uc_orders} table.

I have no idea why it's not editable on the admin order edit screen. If there's not a good reason, maybe this should be a feature request.

msamavi’s picture

Category: support » feature

Thanks DanZ.
I changed the thread to a feature request, any new comment would be appreciated though.

longwave’s picture

Category: support » feature

Valid feature request; I guess nobody has needed this feature before now, as generally the primary email is only used for the initial order and never after that (unless you want to re-send an invoice or something).

Ideally, the whole "Customer info" pane in the order edit page needs an overhaul, as it hasn't changed much from the Drupal 5 days.

msamavi’s picture

Agree longwave

DanZ’s picture

I needed it two days ago. A customer managed to type the wrong e-mail address twice. I called her up because her e-mail bounced, but then I couldn't fix it completely (without getting into the DB).

The address is used to update the status of the order. We let the customer know when the order is placed and also when we ship it. (I'm not sure which address gets used for the later updates.)

loparr’s picture

Helo,
I had similar issue with ubercart drupal6.
Easy to fix - go to users account, change email address, this will not be reflected in orders. You go to the order edit page, section customer info, search for existing customer, put corrected email address, system will find new address and you can use it. Done.

MakeOnlineShop’s picture

But if the user has opened another account with the correct Email address I cannot add this Email address and customer to the order he did.

longwave’s picture

Version: 7.x-3.3 » 7.x-3.x-dev
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new2.38 KB

Can someone who needs this feature test the attached patch?

tr’s picture

longwave’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.