• Resolved idakristoffersson

    (@idakristoffersson)


    Is there anyway you can reset the custom order for product categories in Woocommerce? I changed the order on one category and now all new ones I add doesn’t show alphabetically anymore. I’m using a custom theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter idakristoffersson

    (@idakristoffersson)

    Thanks for answering! I tried a bunch of those plugins but I need something that can reorder all categories at once automatically, since I have so many.
    I have also tried to make a new sorting option instead of the default one but that only worked on products and not categories.

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    @idakristoffersson I wrote a little plugin that should do what you are looking for. I suggest running it on a copy of your site before trying it on your live site, perhaps by using WP Staging: https://www.ads-software.com/plugins/wp-staging/

    The plugin can be found here: https://cld.wthms.co/7fImms
    Install it, activate it, view your site once, and then you can deactivate it.

    What it does is go through the product categories and removes the order meta key. This resets the order to alphabetical.

    melinda a11n

    (@melindahelt)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Hi! I have similar problem.

    I need to reset woocommerce product sorting, because I use sorting by a third-party plugin. After I removed the product from the category and then added it again, sorting is displayed on my site using the built-in woocommerce sorting, but I need sorting by my third-party plugin.

    • This reply was modified 4 years, 11 months ago by art9m.
    • This reply was modified 4 years, 11 months ago by art9m.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reset custom order for product categories’ is closed to new replies.