Features

Ajax Attribute Editing

Published · Last updated

When you open a product for editing in WooCommerce, the Attributes panel loads every term for every attribute attached to that product. For most stores that’s fine, a handful of colours and sizes. But if you use an attribute with thousands of terms, WooCommerce loads all of them into the edit page at once, and the product edit screen slows to a crawl or times out entirely.

This is common on affiliate stores, feed-driven catalogues, and anywhere an attribute is used to hold something like a brand or merchant list with a very large number of values.

Best for
  • Affiliate and feed-driven stores with a brand, merchant or supplier attribute holding thousands of terms
  • Any store where opening a product for editing has become slow or times out
  • Catalogues where one or two attributes have grown far larger than the rest

The option is in the Bloat tab. Set “Ajax attribute editing” to “Use AJAX to edit product attributes”. Scalability Pro then loads the attribute terms on demand over AJAX, when you actually interact with the attribute, instead of loading the entire list up front. The edit product page loads quickly again, and the terms are fetched only when you need them.

If your attributes are small you won’t notice any difference and you can leave this off. It’s specifically for stores where one or more attributes have grown large enough to make editing products painful.

Don’t use this if
  • Small stores where every attribute holds only a handful of terms
  • Sites that never see the product edit screen slow down, since there is nothing here to fix

In short: WooCommerce loads all of an attribute’s terms on the edit product page, which is slow when an attribute has thousands of terms. Switch “Ajax attribute editing” on in the Bloat tab and the terms load on demand instead, so editing products stays fast.

Further reading

the other side of large attributes: keeping the front-end lookup table fast
front-end product page speed, once editing is sorted
more of the Bloat tab’s admin-side wins

Comments

▲
▼
1/1