Start a free 14-day trial by December 1 on a wide range of WooCommerce Marketplace extensions and themes. Explore products

Adjust the Bulk Category Creator auto-categorization batch size

Change the number of products sent in each AI Auto-Categorize request. Bulk Category Creator defaults to one product per request.

Note:

This is a developer-level doc. If you are unfamiliar working with code and resolving potential conflicts, we recommend you work with a Woo Agency Partner for larger projects, or find a WooCommerce developer on Codeable for smaller customization work. We are unable to provide support for customization under our Support Policy.

Before you start

↑ Back to top

Use a test store with Bulk Category Creator 3.2 and WooCommerce active, a few fictional products, and a site-specific plugin for the PHP snippet. Use a test provider configuration or intercept provider requests when checking the workflow.

Change the batch size

↑ Back to top

Add this filter in your site-specific plugin. The example uses two products per request. The extension accepts values from 1 through 10.

add_filter(
	'bwcc_auto_cat_batch_size',
	static function (): int {
		return 2;
	}
);

Larger batches can take longer. The user’s stop request takes effect after the pending batch returns.

Verify the run

↑ Back to top

Open Products > Bulk Category Creator > AI Auto-Categorize and start a run on the test products. In the browser’s network inspector, confirm each request contains up to two product IDs. If the run times out or reaches a provider limit, reduce the batch size or remove the filter to restore the default.

Questions and support

↑ Back to top

Something missing from this documentation? Still have questions and need assistance?

  • If you have a question about a specific extension or theme you’d like to purchase, contact us to get answers.
  • If you already purchased this product and need some assistance, get in touch with a Happiness Engineer via our support page and select this product’s name from the Product dropdown.

Related Products

WooCommerce Subscriptions is a WooCommerce extension that lets customers subscribe to your products or...

Offer add-ons like gift wrapping, special messages or other special options for your products.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.