• Resolved alexdimirop

    (@alexdimirop)


    In a product with many variations the swatches are greyed out and can’t be used. I had the same problem before and used this code:

    add_filter( ‘woocommerce_ajax_variation_threshold’, ‘woocommerce_increase_variation_limits’, 100, 2 );
    function woocommerce_increase_variation_limits() {
    return 600;
    }

    But now when I add this code to my function.php file, nothing changes. Any idea why?

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

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

    (@bhshravankumar)

    Hello @alexdimirop,

    I have visited your product page and I can see errors in the browser console, please share us if you have made any changed on your websites and that might be causing this issue.

    Please review the console errors and check for a conflict and let us know your findings.

    Thread Starter alexdimirop

    (@alexdimirop)

    Thank you for your response. Recently I migrated my site to another domain and so I got these errors I didn’t notice. I troubleshooted the issue and solved it at the end. Now it works fine.

    Thank for your help.

    • This reply was modified 1 year, 4 months ago by alexdimirop.
    Plugin Support Aamir

    (@aamiribsf)

    Hello @alexdimirop,

    Thanks for writing back.

    You’re very welcome! I’m delighted to hear that you were able to troubleshoot and resolve the issues that arose after migrating your site to a new domain. It’s great to know that everything is now working smoothly.

    If you ever have more questions or encounter any further challenges in the future, please don’t hesitate to reach out. I’m here to assist you at any time. Wishing you a wonderful and trouble-free experience with your website!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Variations greyed out’ is closed to new replies.