WoodMart Product Variation Error
-
Hello,
I have a problem with variations on the variable products. When I choose to set 30 variations on product, the product displays correctly the product variation with the color and gallery for each product per variation. But when I choose to set 33 variations, the color picker does not show the images in the gallery for each color of the product. Can you please tell me what is the problem? Thank You!
Attachments:
You must be
logged in to view attached files.
Hello,
Yes, WooCommerce handles attributes differently when your product has a lot of variations (more than 30). 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 100;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );
Regards
Thank you very much! 😀
The topic ‘WoodMart Product Variation Error’ is closed to new replies.