• Hot
  • Top
  • New

You have ... votes left in this category for this week!


Woocommerce: Ajax Categories Meta-Box in Admin

alias3729 shared this feature

February 13, 2018

For Woocommerce stores with many products and many categories, the add/edit product page takes a long time to load. For shops that deal with automotive products, the number of categories can get really big really quickly. For example, Year > Make > Model. For each year, there can be many makes, then for each make, there can be many models, and for each model, there can be many products in that model.

To speed up the load time of the product add/edit page, I’m proposing an override to the default category selector meta box. Instead of listing all the categories with nested UL of check-boxes, the box should ONLY query the top-level category and list those. When a user checks that box, it should query and load via Ajax ONLY the categories that are a direct descendant of the checked category, etc. until it gets to the bottom level. Then it saves the item in the checked categories. Does this make sense?

1 Comment

  1. Dave H.
    August 30, 2019 @ 1:50 pm

    There is an option to disable the category box in wp-admin, but your feature request still makes sense – it would be better to keep the functionality and only load it when a user clicks the box.


Leave a Reply

Your email address will not be published. Required fields are marked *

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.