• Resolved Incredible Escape Rooms

    (@resolvedhosting)


    We have a number of clients we built Woocommerce sites with. With the current version of Woocommerce (3.6.1), on every site I have checked we are finding a bug.

    Go to Products > Categories. Then try to sort the categories by the number of products in each category and it doesn’t work. When clicking it, the categories do resort but not in either ascending or descending order.

    I tested if this happened with post categories but that functions as expected still so it seems to be Woocommerce specific.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there!

    It sounds like the Customizer > WooCommerce > Product Catalog settings are set to show categories rather than products:

    Customizer
    Link to image: https://cld.wthms.co/ScSrMY

    Once I’ve set the customizer to show categories and take a look at both the shop and a sub-category, neither show a sort option:

    Categories
    Link to image: https://cld.wthms.co/eopbYS

    Can you tell me more about how one of these sites is set up, and share a URL so that I can compare?

    Thread Starter Incredible Escape Rooms

    (@resolvedhosting)

    I was referring to the admin area. Under products > categories

    When you are in there, you can normally sort product categories by different columns. One of them is by the number of products in each product category. But with 3.6.1 it doesn’t work. Sorting the same way by post categories does work though so that’s why I think it’s a Woocommerce bug.

    We use this feature to delete empty product categories that are sometimes created during imports. We have a site we get products from that for some reason when we export products from it, they include product categories that don’t have any products, so we go to products > categories in admin and sort by number of products so we can easily delete the empty categories.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Thanks for clarifying!

    When you are in there, you can normally sort product categories by different columns. One of them is by the number of products in each product category.

    I checked through the options in the Products section, but I’m not seeing an option to sort by the total products in each category:

    Product filter options
    Link to image: https://cld.wthms.co/heC72r

    Could you please share a screenshot of the Products screen, so that I can see what you mean?

    Plugin Support Hannah S.L.

    (@fernashes)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bug in sorting categoriesq’ is closed to new replies.