• Resolved Hossein Khadem Abolfazl

    (@hoseinkh)


    Hi woocommerce team,

    There is a fatal problem when selecting variables, which I have already reported here in full detail.

    I just wanted to report here to make sure the WooCommerce team is aware of it.

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi @hoseinkh

    Thanks for that bug report – I have commented on it but just for transparency, I thought I’d reply here as well. The behaviour you’re seeing there is expected. Essentially, up until 30 variations, WooCommerce will dynamically update the select dropdown fields with available options. After the 30, it’ll stop doing that as not all hosting servers are able to handle updating that many variations in one go.

    Of course, it’s entirely possible to override this 30-variation limit with some custom coding. For more information on how that works, please have a look at the following guide: https://woocommerce.com/document/change-limit-on-number-of-variations-for-dynamic-variable-product-dropdowns/

    Hope it helps!

    Since you have the same problem I thought I would put mine here

    I have yet to get the results I want. I am still having trouble. I have 105 scents of incense in 3 types. Now I understand that the limit is 30 or is it 50 variations and that you can use a code to fix that. Well I can run 1k variations at a time now while creating products. I still can not show my products based on choices made. My jewelry line of?gold and silver rings. Example I choose Size 11.5, I should see 1 Description choice for this size instead I see all 28 choices. I have put this code in my Storfront Child Theme function.php

    if ( version_compare( get_bloginfo( ‘version’ ), ‘4.7.3’, ‘>=’ ) && ( is_admin() || is_customize_preview() ) ) {
    require ‘inc/nux/class-storefront-nux-admin.php’;
    require ‘inc/nux/class-storefront-nux-guided-tour.php’;
    require ‘inc/nux/class-storefront-nux-starter-content.php’;
    }
    add_filter( ‘woocommerce_ajax_variation_threshold’, ‘custom_variation_threshold’ );

    function custom_variation_threshold( $threshold ) {

    return 1000; // Set your desired threshold (e.g., 50 instead of 30)

    }
    /**

    What am I doing wrong others seem to think this is the way to fix the problem but I am still limited. Please help I am ready to tear my hair out. I am not a coder, it have been over a decade since I did HTML much less what is used now. I need an answer in plain english that will tell me exactly how to fix this. Oh I did try some of the plugins for Woocommerce but they want to treat my store like a clothing store. Since I am not pleased with the clunky style of showing huge pictures on the Shop page in the first place their look is not for me. The plugins recomended were confusing to me, I couldn’t understand what to do in the customization areas so I removed them.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @newageemporium

    From your explanation, it looks like you’ve done well in increasing the variation limit to 1000. However, the issue you’re experiencing seems to be related to how WooCommerce displays product variations, not the limit itself.

    When a customer selects a specific variation (for example, Size 11.5), WooCommerce, by default, still shows all other variations, not just the one selected. This is standard behavior, and it’s not directly related to the variation limit or the code you’ve added to your functions.php file.

    If you want to change this behavior, you might need to customize your theme or use a plugin that offers this functionality. Since you’ve mentioned that you’re not a coder and found the recommended plugins confusing, I would suggest reaching out to a professional developer who can help you customize your WooCommerce store to fit your needs.

    Alternatively, you could consider using a different theme that better fits your needs, or hiring a professional to create a custom theme for you.

    I hope this helps, and please don’t hesitate to reach out if you have any other questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.