• Resolved GainLine

    (@gainline)


    Hi,

    I have added conditional logic to a product to only show certain options depending on the variations of the product.

    This worked fine for the first product, but when I tried to add another I noticed that the dropdown box in the conditional logic section does not contains all the products I have added.

    Yet they appear if I try to add the rules section in the options block. Can you help me please?

    I have cleared caches on the server in an attempt to get select-2 to repopulate its field list but it still wont find the product.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Andrea Grillo

    (@agengineering)

    Hi there,

    about that you should try to:

    1. Add the new rule

    2. Save

    3. Refresh the page

    please?

    Only to understand if this is only a refresh issue or not.
    Let me know, please.

    Thread Starter GainLine

    (@gainline)

    Morning,

    No still no luck, it saved the toggle to enable the conditional logic but it still isnt finding the products.

    Plugin Support Andrea Grillo

    (@agengineering)

    Hi there,

    you should try to use this code:

    add_filter( 'yith_wapo_conditional_logic_variations_limit', 'my_yith_wapo_conditional_logic_variations_limit' );
    function my_yith_wapo_conditional_logic_variations_limit() {
     return 100;
    }

    By default the plugin show the first 20 variations. With this snippet you force to show the first 100 variation.
    You should add the code at the end of functions.php of your theme.
    Let me know if works.

    Thread Starter GainLine

    (@gainline)

    Hi Andrea,

    Looks to be pulling through fine now, thanks for your support.

    Mike

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Missing Products on Conditional Logic’ is closed to new replies.