This topic has 6 replies, 2 voices, and was last updated 2 years, 6 months ago ago by Olga Barlow
I had a problem with variations swatches , I put the settings on the theme panel to the attribute “COLOR” be the primary attribute for the image to change when selected, works fine, until I have more than 27 variations, then the product only change images if the “SIZE” is also selected.
Hello,
Yes, unfortunately, it’s not possible to apply the primary attribute for the significant number of variation because of the system that the WooCommerce plugin use. And we can do nothing with this.
Regards
Regards
Hi, I found the solutions in an other forum, If anyone have this problem, please reply to post it.
Hello,
We would be very grateful if you could share your solution here with other users who will find this topic looking for the answer.
Regards
I put these codes in my child theme in function.php
function custom_wc_ajax_variation_threshold( $qty, $product ) {
return 100;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );
Hello,
Thank you for your answer.
Regards
You must be logged in to reply to this topic.Log in/Sign up