Magento – Adding order from backend for client associated to admin scope

admincustomersales-orderstore-view

Here is my problem:

  1. I've created customer in backend, associated it to admin website. I don't want this customer to be able to login on frontend.
  2. I want to add order for this customer from backend. When it's done, Magento automatically creates same client for Default Store View. Is this default behaviour? Why there is an option to create customer only for Admin scope, when it automatically duplicates this customer when you make an order?
  3. When I add another order for my admin scope customer i get an error "This customer email already exists" – that's because Magento tries to add another frontend customer with same address.

Is there a way to change this behaviour? I don't think that frontend users should be created automatically when you make an order from backend for admin scope customers. All I found about this feature is this: https://magento.stackexchange.com/a/19508 – and this is how i need this to work, but without auto creating deafult store view customers when order is being created from backend.

Best Answer

If you create an order for a customer, the customer should be related to the website, the order belongs too, therefore (I assume) magento creates this relation.

  • You can delete the customer after the order was created.
  • You can try to order in admin website (if possible)
  • just use a fake email address, so the customer can never log into this account
Related Topic