/* WooCommerce Increase Variations */
define('WC_MAX_LINKED_VARIATIONS', 300);
By default WooCommerce loads only 50 variations per product. To increase that limit, add the above code to your child theme’s functions.php.
Above code increases the WooCommerce variation limit to 300.
Also, if you want to display more number of variations in the product edit page, use this code. Default is 20.