ResolvedQuick view not working on a lot of variations

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30616
    antonisrok
    Participant

    Hello,

    I have noticed that when a product has 36 variations the quick view button on the products list opens the product (on quick view) and when I select all my attributes it freezes… It works in the single page product but not in the quick view. Also it works on 27 variations (the quick view) but not on 36. It is the same product with just more variations.

    Thank you

    #30617
    antonisrok
    Participant

    After further testing it looks it has a limit of 30 variations. After 30 variations freezes

    #30618
    antonisrok
    Participant

    Nevermind it was a simple solution. Just added

    function custom_wc_ajax_variation_threshold( $qty) {
    return 50;
    }
    add_filter( ‘woocommerce_ajax_variation_threshold’, ‘custom_wc_ajax_variation_threshold’, 50);

    to my child theme’s function.php

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in and have valid license to reply to this topic.

License required for any item belonging to this account
AlThemist

AlThemist

sales 17199, followers 742
Login and Registration Log in · Register