New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise menu_order system #5468

bekarice opened this Issue May 12, 2014 · 5 comments


None yet
3 participants

bekarice commented May 12, 2014

When using the Default sorting (custom + name) for shop display, you can drag and drop to change menu order for products rather than using the alphabetical display. However, once this is used, there's no easy way to change the menu_order values for products. Maybe creating a tool under System Status to reset product menu_order would be appropriate for users that want to revert to alphabetical displays would be helpful.


This comment has been minimized.


mikejolley commented May 13, 2014

I think options like this would be useful on the actual sort screen, when sorting is enabled. I'll move to this to future for review after 2.2

@mikejolley mikejolley added this to the Future Releases milestone May 13, 2014


This comment has been minimized.

robcain commented Jul 10, 2014

i would like to second this request please.

i recently 'tried out the 'sort products link' on product listing whilst viewing only a single category - i thought it would restrict ordering to there alone - nope! - it reordered the complete catalogue & set it in stone!

i spent hours trawling the web for a solution (to reset it at the very least), but found none.

the only way to revert being to go through each product one by one/else drag & drop ALL products again into required order! (even then of course it does not save order per category and 1 cat order can end up overriding another.

ultimately, i had to go into phpmyadmin and run:

update wp_posts set menu_order=0 where post_type='product'

which reset them all ok.

two really easy solutions i can think of:


a) add a button to do precisely the above from the woocommerce settings menu

or, better:

b) enable the product menu_order field within the standard bulk_action, edit feature within admin list products - it's the only field that's missing from there, and precisely the one that's needed!


if a single click on an admin link is likely to irrevocably change shit - please, oh please in the name of basic usability add a 'confirm action' alert to it!



This comment has been minimized.


bekarice commented Jul 29, 2014

@robcain thanks for the solution. If you or anyone else runs into this in the meantime, I wrote a small plugin that can add a separate alphabetical sorting option in case custom sorting is used rather than resetting the menu_order:

@mikejolley mikejolley closed this Nov 13, 2014

@mikejolley mikejolley reopened this Dec 5, 2016

@mikejolley mikejolley changed the title from Add product menu_order reset to Revise menu_order system Dec 5, 2016


This comment has been minimized.


mikejolley commented Dec 5, 2016

Sorting is clunky. Let's look at ways to revise how this works, or replace it with something more automatic (a better default) and move this out of core. Sorting thousands of products via drag and drop is silly.


This comment has been minimized.


mikejolley commented Feb 6, 2017

Closed in favour of #13072

@mikejolley mikejolley closed this Feb 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment