cancel
Showing results for 
Search instead for 
Did you mean: 

2.3.5p1 Change Sales Order Status in database

2.3.5p1 Change Sales Order Status in database

Using Magento 2.3.5p-1.

I changed the status of an order in sales_order AND sales_order_grid. 

Ran indexer command. 

Cleared cache and status of order did not change in admin or customer dashboard. 

What step am I missing?

3 REPLIES 3

Re: 2.3.5p1 Change Sales Order Status in database

Hi @Sheba 

BTW direct database table changes are not recommenced.

It you are doing nay changes for testing.. then have you changed order "state" as well with order status in sales_order table.

You can match state with status in "sales_order_status" table.

I hope it will help you!

Re: 2.3.5p1 Change Sales Order Status in database

Hello @Sheba 

 

it is not right way to change order status.

 

If still want then you are good you need to do into two table

 

sales_order and sales_order_grid

 

make sure you are change state or status 

 

hope it will help you

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: 2.3.5p1 Change Sales Order Status in database

Thanks for your response.   I made change in those tables and it did not change status in admin or customer dashboard.