This topic has 4 replies, 2 voices, and was last updated 8 years, 3 months ago ago by Jack Richardson
Dear Eva,
Trust all is well with you,
I am experiencing that WooCommerce Variations ‘once again’ has returned to the limitations of 40 or so,
Long time ago I have adjusted the PHP.ini to 5000 and I have been able to have 200 + variations,
Though since last update Variations are back to about 40.
I have looked everywhere but can’t find the solution,
Can you kindly assist?
Thanks Peter
Hello,
Please show a direct page where you have issue with variations and specify how we can replicate the problem.
Thank you.
Best regards,
Jack Richardson.
Dear Jack,
The page is:
http://www.indochinaexplorers.com/project/siam-kempinski-bangkok
The variations under “Validity Period” 01.Jan.16.-31.Mar.16 are all good, more or less, then for 2nd period: 01.Apr.16.-31.Oct.16. – exceeds the limit of variations and comes out with:
“Sorry, this product is unavailable. Please choose a different combination.”
There are in total about 62 variations computed here,
Replicate: Sorry, I have no idea how replicate.
Do you know where to set ‘Number of variations’?
Besides, PHP.ini.
Thanks Peter
Hello,
I’ve added this code in functions.php file in Legenda theme:
function custom_wc_ajax_variation_threshold( $qty, $product ) {
return 1000;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 1000, 2 );
Please clear browser cache and check variations now.
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up