question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Admin] Create order

See original GitHub issue

For some cases, there is a need for admin to create orders for a customer. An “Create Order” button should be added in the Orders page.

2 new properties should be added into Order object

public long CustomerId { get; set; }
public User Customer { get; set; }

Update the existing logic related to CreatedBy. If an order created by the customer, then the Customer and CreatedBy are the same. If an order create by the admin then CreatedBy is the current logined user and the Customer is the user who this order is created for.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
codingdefinedcommented, Nov 7, 2018

Yes, What I have done till now is to have a AutoComplete Customer TextBox, where the user can type two or more letters and get the required customer with name and id.

1reaction
codingdefinedcommented, Oct 26, 2018

@thiennn I would like to work on this, few questions.

  1. Is there a Separate Button for Admin to create the Order for the Customer.
  2. Can Admin create an order for himself?
  3. When creating an Order, should we create a dropdown by which Admin can select the which customer he is creating an order for.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Create Order in Admin | Order Management
Step 1. Create order · Go to [Orders] > Click More Actions at the top right and select Create Order. · If your...
Read more >
Create an order | Adobe Commerce - Experience League
Step 1: Create an order · On the Admin sidebar, click Customers. · Find the customer in the grid. · In the Action...
Read more >
Admin Order Creation Plugin
Admin Order Creation Plugin processes are strongly based on standard Order model taken from SyliusCoreBundle. The only things that differ are order creation...
Read more >
How To Create Order In Magento 2 Admin Panel
1. Go to Admin Panel > Sales > Orders and press the Create New Order button. · 2. Choose the customer you want...
Read more >
Create order as admin
My client wants to be able to create WooCommerce orders himself, which is no problem, just go to orders and click 'Create new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found