This topic has 2 replies, 2 voices, and was last updated 9 years, 3 months ago ago by Eva Kemp
Hi,
I install Blanco Theme and Woocommerce. I have a problem because woocommerce didn’t allow us to have over 20 variations in one product. I upload woocommerce/single-product/add-to-cart/variable.php version 2.4, after update to 2.4 the product show all the variations, but showing all variation option, for exemple :
I have 1 product in 6 variations: 1x, 1y, 1z, and 2a 2b 2c, when I chose variation from 1 wordpress show me otion x, y, z, a, b c, not only x, y, z. Can you helm mw with this?
Hello,
Please refer to this article:
https://woocommerce.wordpress.com/2015/07/13/improving-the-variations-interface-in-2-4/
and try to use this code in functions.php file:
function custom_wc_ajax_variation_threshold( $qty, $product ) {
return 100;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 100, 2 );
Regards,
Eva Kemp.
Tagged: 20 variations, limits, problem, themes, variations, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up