Jump to content

How to hide unused order status in Admin


patrmich

Recommended Posts

Hello,

My shop is built with Prestashop 1.5.6.2.

In the past I created various order status that are no longer in used.

So, in admin > Orders > Status, I tried to delete unused status.
But, I got an error message as follows :
For security reasons, you cannot delete default order statuses

Instead of deleting a status is there a way to hide some status both in :
- admin > Orders > Status
- and in the Status selection box of Orders > Orders

I thank you in advance for any reply.

Patrick

Link to comment
Share on other sites

  • 4 months later...

ps version: 1.7 (maybe other versions too)

I've found a way that I've not fully tested but which I presume is pretty harmless!

If you have database access, on the:

ed_order_state

table, there is a 'deleted' column - kinda like a 'soft delete' - you can cross reference the id_order_state with the:

ed_order_state_lang

table to see the label of the order status and then enter '1' in the relevant record's 'deleted' column.

It can be easily undone by changing back to a zero.

 

Screenshot 2019-01-24 at 05.31.31.png

Screenshot 2019-01-24 at 05.31.51.png

  • Like 1
Link to comment
Share on other sites

  • 5 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...