We found the following code snippet to fix the problem:
function custom_wc_ajax_variation_threshold( $qty, $product ) { return 10; } add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );
https://woocommerce.com/document/change-limit-on-number-of-variations-for-dynamic-variable-product-dropdowns/