Depending on how you setup your store, you either want to create user accounts for users or not when they do shopping.

For the projects I've been working on, it surprisingly seems that it's the case most often.

If the order is associated to a user, it will be possible to get the email from the user (though a bit ineffective using an extra join), but if no user is associated to the order it is no longer possible to get the email used for the order. I really think we should add this to the views integration.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

googletorp’s picture

Status: Active » Needs review
FileSize
3.82 KB

And the patch that adds this.

I added a custom views handler for the email, so it's possible to render the email as plain text or a mailto link.

rszrama’s picture

Status: Needs review » Fixed

Sweet, thanks. No clue how we went this long without support for this. : D

Status: Fixed » Closed (fixed)

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