4 replies [Last post]
myke@drupal.org's picture
Offline
Joined: 04/12/2008
Juice: 189
Was this information Helpful?

Hi, the email address on orders is NOT editable.. recently this caused a problem when a customer placed an order, but entered the wrong email address on accident. He was able to change it in Drupal, but NOT in Ubercart, resulting in order updates going to a wrong email address.

I'm proposing making this an editable field!

-Myke

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Email Address on Orders not editable

Well... it actually is an editable field, just not in the way your customer needs it to be.

1) User creates an account.
2) User places an order. The order will refer to the user account but also store the e-mail address separately.
3) User updates their account e-mail. The order e-mail will not be updated unless an administrator does it.

We do this b/c we don't want customers changing anything after an order has been placed. I can see how this would be a useful feature, though. I'm not sure what sort of settings it would require or if it's something that should be in core.

myke@drupal.org's picture
Offline
Joined: 04/12/2008
Juice: 189
Order storing email address / Not editable by admin

I'm ok with it not being editable by the user, but when we tried to fix it as the admin, it's greyed out. If I have to click one of the icons, maybe this is something that needs to be changed in the interface? I had to go in with phpMyAdmin and fix it.. not a big deal for me, but the client doesn't know MySQL.. =)

-Myke

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Order storing email address / Not editable by admin

Ahh, I see what you mean... yeah, I guess the admin editing interface just assumes the order e-mail will be the account e-mail address. Was there a reason you'd want to change it on the order and not update the account at the same time?

myke@drupal.org's picture
Offline
Joined: 04/12/2008
Juice: 189
Fixing the orders email address

I'd only want to do it in the case where the Drupal email address had to be fixed, and the order still had the old one.. it doesn't automatically fix it when the admin edits it.. I have to do it with SQL..

-Myke