Order Status is the option to inform both customers and admin owners about the order progress when order is generated while each order status is corresponding to a state in the Order Status Workflow. In the configuration, you can generate a new one, assign it to the order state, and even set it as the default status for that state. Today we are going to learn how you can create order status in default Magento 2. So, let’s get started.
1. Order Status in Magento 2
Each order has an Order state which is connected with the stage in Magento 2 order processing workflow. Following Order Status Workflow allow you to understand how the ordering process is when one is placed by a client. Otherwise, the order status workflow will show store admins that each order status is matching to a state.
2. Magento 2 Order Management Workflow
The Order state shows the position of an order in the workflow. Magento includes the following pre-defined states: New, Pending Payment, Processing, Complete, Closed, Canceled, On Hold, Payment Review. Besides, there is a variety of pre-defined order statuses, like Processing, Pending Payment, Suspected Fraud, Payment Review, Pending, On Hold, Complete, Closed, Canceled, Pending PayPal. See what each of the state/statuses means:
- New show that an order is generated, but no payment has been made;
- Pending indicates no invoice and shipments have been submitted;
- Processing means that order has been invoiced or shipped, but not both;
- Complete means that you both created an invoice and shipped an order;
- On hold is a manually assigned status, meaning you can put an order on hold;
- Canceled is chosen by the admin owner or a payment gateway if the order hasn’t been paid for;
- Closed means that order has had a credit memo assigned to it and the client has received a refund.
Let have a detailed view of the order status workflow with the chart below.
3. How to create Order state in Magento 2
1. Generate a Custom Order state
- View on the Admin Panel, Stores > Settings > Order Status.
- Click on Create New Status at the upper-right corner
- Under Order Status Information
- Insert a Status Code for the internal reference.
The field requires to include the letters (a-z), the number (0-9), and the underscore instead of space while it needs to utilize the letters for the first character and the rest can be a mix of letters and numbers.
- Set the Status Label for Admin and storefront.
- Set the Store View Specific Labels for each store view on your Magento 2 website.
- Save Status to finish.
2. Assign an Order state to a state
- Move to the Order Status page, click on Assign Status to State button.
- On the Assign Order Status to State
- From the existing list of the order status, choose the Order Status to assign.
- Select the Order State to combine the order status you’ve just assigned.
- Accept the order status as a default status, tick Use Order Status as Default checkbox.
- Enable the order status on the storefront, tick the Visible On Storefront
- Save Status Assignment to complete.
3. Custom an existing order status
- Search the order status in the status list, and open the edit page.
- Customize any order status information as you want
- Click Save Status to save the changes.
4. Remove an order status from the current state
You cannot remove the order status that is being used.
- Look for the order status that you need to unassign in the status list.
- On Action column, clicks on the Unassign link.
If you have any issues in creating Order state in Magento 2 you can contact our support team! We, Magesolution — a leading ecommerce development company, cover all the website development needs of online entrepreneurs. From prototyping to building to customization, you will get a high-performing, feature-packed, scalable, and secure eCommerce website.
Besides, if you are looking out for a cost effective Magento package for your eCommerce store, then look nowhere other than Magesolution. We not only offer an affordable Magento Development Package for all size and budget but also ensure that it helps your online business grow and sustain. Contact us for a free consultation!