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.
Site URL: hidden Theme version: 8.1.6 WooCommerce version: 6.5.1Hello,
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 );
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.