Too Many Variations = White Screen
-
Hello!
I am trying to get help with an issue I am having with one product that has 510 variations. I am using a code snippet that allows for the refreshing of variations in the drop down. This feature is required in order for a better user experience./* Increase Woocommerce Variation Threshold */ function wc_ajax_variation_threshold_modify( $threshold, $product ){ $threshold = '600'; return $threshold; } add_filter( 'woocommerce_ajax_variation_threshold','wc_ajax_variation_threshold_modify', 10, 2 );
I have tested this, and it seems the threshold is around 300-350 variations before I get the white screen when loading the front end of the product page. I need to be able to have the menus refresh based on the other variations selected, plus have a product that has over 510 variations.
I have disabled the theme, and tested other themes as well as all plugins have been deactivated and reactivated one by one. All other products work just fine with the code the way it is, it is just a matter of having too many variations.
Any ideas?
THANK YOU!!The page I need help with: [log in to see the link]
- The topic ‘Too Many Variations = White Screen’ is closed to new replies.