Jump to content

[SOLVED] How arrange statuses ?


Recommended Posts

Do you mean Orders > Statuses? By default, they are ordered by ID for me. You can click the up or down arrow underneath a column header to sort ascending or descending by that column.


Thank you for your answer.
yes, it's for the items of orders/statuses.

but my problem is not in order/statuses, is in orders/change state
appears in alphabetical order! but i don't want alphabetical order.
It's very difficult found i want in this list.
I try inserting a number as prefix, but number appears to my customers.. :(
Link to comment
Share on other sites

I understand now. You need to change the last line of the getOrderStates function in classes/OrderState.php:

ORDER BY `name` ASC');



Change it from `name` to `id` (or delete the line entirely, except the ");").

Link to comment
Share on other sites

I understand now. You need to change the last line of the getOrderStates function in classes/OrderState.php:

ORDER BY `name` ASC');



Change it from `name` to `id` (or delete the line entirely, except the ");").



I will try it.
Thank you very much!!!
Link to comment
Share on other sites

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...