At present in Magento 2 Checkout there are two ways you can place the order.
- Guest user
- Current logged in user
I have the following requirement from one of our client that add the following feature for one customer group under the checkout.
Step 1. they can search for customers or create customer account.
Step 2. Add/choose (if already have shipping address)
Step 3. Placed order for that customer.
Suppose I have customer with id 3 and I want to place an order for customer with id 4, Whereas checkout only allows order placement as a guest or with current logged in user
How is that possible because checkout uses the customerData storage which keeps the information of current logged in user. same for quote