Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter pawsomemoments

    (@pawsomemoments)

    @rainfallnixfig and @lananor Managed to Resolve the issue!!

    First of all I tried the troubleshooting of plugin/theme conflict (deactiving plugins and reactiving etc) and this didn’t resolve the problem,

    I then had someone from Woo commerce support have a look and they advised that it was to do with the amount of variations, so when the product exceeds 30 variation it switches over to ajax instead, So was given a snippet of code to increase this to 500!

    Viola! we inputed the code and it resolved the issue!

    This is the code if you you’re having the same problem too:

    <?php
    
    function wc_increase_variation_threshold( $product ) {
        return 500;
    }
    add_filter( 'woocommerce_ajax_variation_threshold', 'wc_increase_variation_threshold', 10, 2 );

    Hope this helps everyone else who has this issue.

Viewing 1 replies (of 1 total)