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 topUse 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 topAdd 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 topOpen 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 topSomething 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.