In theory ... this should work for you ...
Backup your database ...
Did you backup your database?
Create a New Orders Status in the Localization ... Order Status ... for:
Packaged
... this should become orders_status_id 6 ...
Go to the Configuration ... Attributes Settings and change the:
High Value <= 5
Updated = 5
In the Tools ... Install SQL Packages ...
Run the following SQL commands:
Code:
UPDATE orders_status SET orders_status_id = 5 WHERE orders_status_id = 4;
UPDATE orders SET orders_status = 5 WHERE orders_status = 4;
UPDATE orders_status_history SET orders_status_id = 5 WHERE orders_status_id = 4;
UPDATE orders_status SET orders_status_id = 4 WHERE orders_status_id = 3;
UPDATE orders SET orders_status = 4 WHERE orders_status = 3;
UPDATE orders_status_history SET orders_status_id = 4 WHERE orders_status_id = 3;
UPDATE orders_status SET orders_status_id = 3 WHERE orders_status_id = 6;
The result in all of this is all Old and Future Orders will use:
Pending orders_status_id 1
Processing orders_status_id 2
Packaged orders_status_id 3
Delivered orders_status_id 4
Updated orders_status_id 5
Next, go to your Modules ... Payment ... and adjust all Payment Modules to use the proper Orders Status based on your changes ...
Bookmarks