Home › Forums › WoodMart support forum › Attributes display issue › Reply To: Attributes display issue
May 2, 2020 at 6:42 am
#191674
Artem Temos
Keymaster
Hello,
Yes, WooCommerce handles attributes differently when your product has a lot of variations (more than 40). If you want, you can increase this threshold to any number by adding the following code snippet to the functions.php file in your child theme
function custom_wc_ajax_variation_threshold( $qty, $product ) {
return 10;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );
Regards