When creating an order in Ubercart, the first step in the order creation process was to find an existing customer, or create a new one. This made sense so the order being created by Admin was tied to an email address and a user account.
In Drupal Commerce - this entire step appears to be non-existent? Orders created by Admin are not tied to any email addresses (as there is no email field on the Create Order screen), nor are they tied to any accounts as there is no mechanism to either create an account or use an existing one. This is causing all manner of headaches.
Anyone got any ideas how this should be approached?
Comments
Comment #1
mrpeanut commentedThe Order contact e-mail, under User information, allows you to tie the order to an email address.
Comment #2
jasonabc commentedThanks but this is less than half the issue. You cannot enter anything in "Owned By" if the user doesn't have an account - in which case the order is tied to the Anonymous account, which is useless.
The order can be assigned an email address - but no account is created for that user once the order is saved so there is no way for the user to log into the site to view their order.
Even worse is if the user comes to the site and creates an account with the email address used on the order - the order is not tied to the new account!? Admin has to go in and manually add the new username in the "Owned By" field.
Reopening.
Comment #3
rszrama commentedLet's get toward a little more useful title / description then - as I understand it, you want to see an order creation workflow that allows the administrator to search for an existing account / create a new account if it doesn't exist. In the meantime, that can be handled through Rules by looking for a user with the matching e-mail address or creating one if it doesn't exist via Rules on the "After an order is created" event much like we do in the checkout completion rules. I'm not sure if this belongs in core or not, but we can at least leave it as an open feature request.
I don't see us updating previous orders to assign them to a user account created after the order was complete, but it could be done through Rules.
Comment #4
jasonabc commentedAdjusted title slightly. I wasn't suggesting updating previous orders to assign them to a user account created after the order was complete. My point was that, currently, if an order is created in Admin for a customer without an account, their email can be tied to the order (great), but no mechanism exists for that customer to log on and see their order (not great). Even if the customer subsequently comes and creates an account using the same email that was tied to their order - the order is *not* tied to their new account so they have nothing to look at when they log in.
Comment #5
marcus178 commentedI also feel that this is a much needed feature. Having a step at the start of order creation where you can search for a existing user, or create a new one, is much better and in addition to this being able to select an existing address would be a great help.
Comment #6
marcus178 commentedActually just found this, the creator says it's never going to be a full module for some reason but it seems to work ok so I'm not going to complain.
https://drupal.org/sandbox/andyg5000/1921958
Comment #7
Anonymous (not verified) commented+1 for this feature!
The real life workflow when creating an order as an admin is:
Comment #8
b_otho commentedA very big +1 as well. About to try the solution from #6, but a full module would be great.
Comment #9
bojanz commentedThe sandbox from #6 is a full contrib nowadays: https://www.drupal.org/project/commerce_admin_order_advanced
The problem is fixed in Commerce 2.x. Too late to change the 1.x UI.