How to Create Custom Order Status in Magento 2

magento-2-tutorial
how-to
create
custom
order
status

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 detail 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. More and more settings you can do for the order status. Let check in the overview below.

Custom Order Status

  • Create Custom Order Status
  • Assign an order status to a state
  • Custom an existing order status
  • Remove an order status from the current state

How to Create Custom Order Status Magento 2

Create Custom Order Status

  • On the Admin Panel, Stores > Settings > Order Status.
  • In the upper-right corner, click on Create New Status.

How toCreate Custom Order Status Magento 2

  • Under Order Status Information section,
    • Insert a Status Code for the internal reference.

    The field need 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.

    • Set the Status Label for Admin and storefront.
  • Set the Store View Specific Labels for each store view on your store.
  • Save Status to complete.

Assign an order status to a state

  • Go to the Order Status page, click on Assign Status to State button.

How to Create Custom Order Status Magento 2 Assign Order Status

  • In the Assign Order Status to State section,
    • From the existing list of the order status, select the Order Status to assign.
    • Choose the Order State to include the order status you’ve just assigned.
    • Accept the order status as a default status, tick the Use Order Status as Default checkbox.
    • Enable the order status on the storefront, please tick the Visible On Storefront checkbox.

How to Create Custom Order Status Magento 2 Assignment Information

  • Click on ` Save Status Assignment` to complete.

Custom an existing order status

  • Find the order status in the status list, and open the edit page.
  • Custom any order status information as you need.
  • Click on Save Status to save the changes.

Remove an order status from the current state.

You cannot remove the order status that is being used.
  • Find the order status that you want to unassign in the status list.
  • Under Action column, on the corresponding row, click on the Unassign link.

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.

Ref: Magento 2 User Guide



It comes to the end of tutorial: How to Create Custom Order Status in Magento 2.

Please leave comments if you have any questions, feedbacks.

Comments for How to Create Custom Order Status in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

$199
17 reviews

Layered Navigation

$149
7 reviews

Store Locator

$199
no review

Shop By Brand

$99
no review

Zoho CRM

$249
no review

FAQ

$149
10 reviews

Better Blog

FREE
7 reviews

Affiliate

$149
7 reviews