• Resolved Bharath

    (@bharath2103)


    I have a product with more than 150 variations and product page doesn’t load and loads blank always. Other products are working fine. Do we have any limit of variations? When I deactivate the plugin, page loads normally. How can I increase the limit of variations

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @bharath2103,

    We have set the maximum swatches limit to 200, and if you want you can increase the limit of variation swatches using this filter code, please add the code to your child themes functions.php or if you are using a code snippets plugin you can add the code as a code snippet.

    add_filter( 'woocommerce_ajax_variation_threshold', 'woocommerce_increase_variation_limits', 100, 2 );
    function woocommerce_increase_variation_limits() {
        // Provide a limit according to your requirement for now it is 200.
        return 200;
    }

    Hope this helps.

    Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @bharath2103,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product Variation Limit’ is closed to new replies.