cancel
Showing results for 
Search instead for 
Did you mean: 

Assign Order Status to State - Order State dropdown not working

Assign Order Status to State - Order State dropdown not working

Hi,

 

We are currently developing our new Magento site, however have encountered some issues in applying Order Status to an Order State.

When in Stores > Order Status > Assign Order Status to State, our 'Order State' drop down doesn't load any options - I tried uploading an image to this post but the images weren't showing unfortunately.

 

No State Drop DownNo State Drop DownHas anyone experienced this issue before or know how we can fix this issue?


Currently when running test orders, they are showing the wrong status in the backend, so we really need to be able to apply each Status to the correct State and set defaults in order for orders to show properly in the backend and to customers.

 

Any advice would be appreciated.

Regards,

 

Michael

2 REPLIES 2

Re: Assign Order Status to State - Order State dropdown not working

Hi @michaellpr5d25 

Please follow below steps to add new status and show with frontend:

1. Create new status on this path Admin > Store > Order Status > Create New status
create_test_status.png

 

2. Assign Status to State
Test_status.png

 

If you are still unable to see your status with dropdown.
Then please check with table using below sql query:

SELECT * FROM `sales_order_status`

If new order status is not available here then insert value with table :

INSERT INTO `sales_order_status`(`status`, `label`) VALUES ("test_status","Test Status")	

Now new status will show with drop down.

If issue resolve, please click on 'Kudos' & Accept as Solution!

Re: Assign Order Status to State - Order State dropdown not working

Hi Bhanu,

Thanks for the assistance.

 

We are currently able to create custom order status fine and these show in our 'Order Status' drop down no problem.

However our issue is when attempting to apply any Status to an 'Order State', the 'Order State' drop down doesn't work - it doesn't drop down or show any 'State' options to apply to any status.

 

If you have any further advice on this issue with our 'Order State' drop down it would be greatly appreciated.

Regards,

Michael

 

No Order State Drop Down.JPG