Reply 318465 to: Bug if have more variations, for example 50

Avatar: Niddy
Niddy
Participant
February 25, 2022 at 20:45

Hi @giovanni-2

Not admin but I needed to do this. It’s easy using functions in child theme (Left Menu -> Appearance -> Theme Editor
Open functions.php – child theme.)

Add the following code at the end before last ?>

function custom_woo_variations_limit( $limit ) {
	$limit = 200;
	return $limit;
}
add_filter( 'woocommerce_rest_batch_items_limit',  'custom_woo_variations_limit' );

Change limit to whatever suits. Hope this helps 🙂

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.