• Resolved Larrysmf

    (@larrysmf)


    Hi I am making a website for a client (linked above) and I an in need for up to 5 label variations and 3 color ones (total 8).

    At the link provided there’s a product with 6 variations and it seems that it doesn’t work correct, doesn’t let me choose the variations.

    I have other products with less variations that work fine. Is there a limit to how many can I have?

    WP: 6.2.2, Woocommerce: 7.7.2, Theme: Divi

    The page I need help with: [log in to see the link]

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

    (@aamiribsf)

    Hello @larrysmf ,

    Greetings for the day!

    The issue seems to be with the number of variations in a product. Ideally, such a high limit is not recommended by WooCommerce also and the default value is quite low for performance issues of the plugin, so, we are offering the solution as a filter.

    Please add the filter code to your child themes functions.php and change the limit according to your requirement, and please remember high values will impact the performance.

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

    Hope this helps. Let me know how that goes.

    Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @larrysmf,

    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 ‘A lot of variations needed Variation Swatches’ is closed to new replies.