• Resolved oblaum

    (@oblaum)


    wc 3.2 introduces in the product admin list the category ajax search. this is good for large project for performance reasons.

    for smaller projects working with the ajax search is now much slower than the previous category list.
    as i have to type 3 letters, wait for the result, click on the category word. instead of just seeing all categories as a tree.

    it would be good to have a setting to choose which solution (search or list) works best for each project. or at least a recent search list.

    or is there a function for this?

    • This topic was modified 7 years, 1 month ago by oblaum.
Viewing 8 replies - 1 through 8 (of 8 total)
  • I agree with oblaum! It became much longer for me to type 3 symbols as I’m disabled!
    PLEASE revise the feature! I think both options (list and search) would be best solution.

    Thread Starter oblaum

    (@oblaum)

    i have reported it here now: https://github.com/woocommerce/woocommerce/issues/17348

    at the moment it seems it is a milestone for 3.3 (planned for 10th jan 2018).

    keep finger crossed that it does not takes too long.

    • This reply was modified 7 years, 1 month ago by oblaum.

    Agreed!

    Also – I now can’t see a way to list products that aren’t in a category!

    Thread Starter oblaum

    (@oblaum)

    is here someone, who can say which code line in which file from the 3.1 version needs to be copied to 3.2 as a temporary solution?

    • This reply was modified 7 years, 1 month ago by oblaum.
    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Looking for someone to test:

    <?php
    // restore old dropdown category filter on admin products page
    // snippet goes in functions.php for your child theme if you have one, or you can use the "My Custom Functions" plugin
    add_action( 'restrict_manage_posts', 'wcacd_category_dropdown', 15 );
    function wcacd_category_dropdown() {
      // show the old dropdown category filter from WC 3.1.2
      wc_product_dropdown_categories( array( 'option_select_text' => __( 'Filter by category', 'woocommerce' ) ) );
      // hide the WC 3.2+ ajax category filter
      print '<style>.post-type-product .tablenav div .select2 {display:none;}</style>';
    }
    Thread Starter oblaum

    (@oblaum)

    lorrrrrrroooo! you are genius. it worked for me. thank you very very much! ?? oli

    seank123

    (@seank123)

    Many thanks Lorro – works perfectly – I have one very happy colleague who was missing the drop-down list!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘product admin overview: category sorting (wc 3.2)’ is closed to new replies.