
By default WooCommerce allows you to enter up to 50 different variations per product. In case you want to increase that value (i.e. to 200), it will require a small code change:
- Login to your Admin Panel
- Navigate to Left Menu -> Appearance -> Theme Editor
- Open functions.php for edit
- At the end of the file (before last occurence of ‘?>’) insert the following code:
function tishonator_woo_variations_limit( $limit ) {
$limit = 200;
return $limit;
}
add_filter( 'woocommerce_rest_batch_items_limit',
'tishonator_woo_variations_limit' );
5. Save Changes