Order Details
Order Details
Curious if anyone else has seen this or knows why it might occur. When you open an order detail in the Merchant Admin site there is a line under the "Bill To:" information where it looks like it is suppose to list the customer's email address, but in all the orders on my site it says "Email not specified". Since the email is the same as the user name shouldn't this be pulling up?
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
You can explicity set this in code
I noticed this issue also. You can explicitly set this in the code with the following snippet:
You can add this in the CheckingOut event handler.
Code: Select all
User user = Token.Instance.User;
if (string.IsNullOrEmpty(user.PrimaryAddress.Email))
{
user.PrimaryAddress.Email = user.Email;
user.Save();
}