Home › Forums › WoodMart support forum › Variation combination showing which aren't available › Reply To: Variation combination showing which aren't available
July 6, 2021 at 10:14 pm
#304918

Elise Noromit
Member
Hello,
Try to add the following PHP code snippet to the child theme functions.php
function custom_wc_ajax_variation_threshold( $qty, $product ) {
return 150;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );
This will increase the standard WooCommerce variations number to be loaded with AJAX from 150.
Kind Regards