0

I'm new to commerce, but I can't find a way to generate an order for a already existing customer via Admin Panel. Do I have to code that by myself or am I missing something?

I've tried to use Commerce Admin Advanced Order Module but this only seems to work with drupal users, not commerce customers.

  • 1
    No, just select the relevant existing customer as the order owner when you create it (commerce customers are Drupal users, no difference there; if you look at the schema for customer profiles you'll see uid is used, which is the Drupal user id for the profile) – Clive Jul 3 '14 at 10:30
  • Then something went wrong with my import. Because my customers aren't Drupal users. Thanks for your help. – Andi Jul 3 '14 at 10:38
  • 1
    Do you have it set up to create a new account or so you allow anonymous checkout only. If the latter, your profiles probably all relate to the anonymous user (uid 0) – Clive Jul 3 '14 at 10:40
  • Where can I set up that a new account is created for every customer? I'm working with Commerce Feeds, but can't get it to creating drupal accounts next to customers. – Andi Jul 3 '14 at 11:15
  • Just a clarification on the customer profile thing. Customer profiles are not users, they belong to a user, and that uid property is reflecting that. A customer profile is assigned to an existing user and a user might have multiple profiles. – pcambra Jul 3 '14 at 14:10
0

The simplest way to do this would be to create the order that you want until the step that you want with your admin/webmaster/whatever role that has enough permissions and then, edit the order and change the owner.

If you create an order so the customer can pay it, you just send them the checkout url, as you changed the owner, they will have access to finish the checkout.

If you process the payment as well, you need an extra step of configuration, in order to send the customer a proper notification that the order was made. Rules is a good way to do this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.