Order Status is the options to notify both customers and store owners about the order progress when an order is created while each order status is corresponding to a state in the Order Status Workflow that is shown in details by the previous topic. And this post will refer to how to create custom order status in magento 2.
In the configuration, you can create a new one, assign it to the order state, and even set it as the default status for that state. There are more and more settings you can do for the order status. Let check in the overview below.
Stores > Settings > Order Status.
Create New Status.
Order Status Informationsection,
Status Codefor the internal reference.
The field needs to contain the letters (a-z), the number (0-9) and the underscore instead of a space while it is required to use the letters for the first character and the rest can be a combination of letters and numbers.
Status Labelfor Admin and storefront.
Store View Specific Labelsfor each store view on your store.
Save Statusto complete.
Order Statuspage, click on
Assign Status to Statebutton.
Order Statusto assign.
Order Stateto include the order status you’ve just assigned.
Use Order Status as Defaultcheckbox.
Visible On Storefrontcheckbox.
Save Statusto save the changes.
You cannot remove the order status that is being used.
Actioncolumn, on the corresponding row, click on the
Right after that, a notification of the assignment will appear at the top of the workplace. Although the order status is unassigned, it is still included in the gird and never deleted.
It comes to the end of tutorial: How to Create Custom Order Status in Magento 2.