close

Slick­Stack

March 2025 promo! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

Woo products “out of stock” variations but there is stock?

  • This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #8757
    Anna
    Guest

    I saw this problem recently.

    Turns out this bug is around for years, and WooCommerce refused to address it.

    https://github.com/woocommerce/woocommerce/issues/16620

    Any advice besides turning off stock management? Some blogs say to ensure stock management is “product level” in the Woo settings but I Don’t even see that setting maybe its not supported anymore

    #8758
    Amber
    Guest

    WooCommerce Product Unavailable Out of Stock Problem

    WooCommerce Variations Break After 30 or more (Bug Fix)

    add_filter( 'woocommerce_ajax_variation_threshold', 'wc_ninja_ajax_threshold' );
    function wc_ninja_ajax_threshold() {
        return 100;
    }

    This also never helped

    #8763
    Kimberly
    Guest

    the never ending bugs and bloat with WooCommerce…. whyyyy

    #8764
    Janet
    Guest

    The transients system can also cause conflicts.

    #8765
    Diane
    Guest
    #8766
    Jonathan
    Guest

    My client tried the #1 solution in the Avada blog post, disabling the stock management checkbox at the variation level. Suddenly after that many of his products changed to be Simple Products, totally black magic he never did it.

    The transients system can also cause conflicts.

    Yup… guess what the solution was?

    DISABLE OBJECT CACHE and all the variations came back again 🙂

    Maybe also related to stock problems too?

    #8767
    Deborah
    Guest

    Great stuff!

    #8768
    Steven
    Guest

    well well… object cache strikes again

    #8769
    Billy
    Guest

    How to Fix WooCommerce This Product Is Currently Out of Stock and Unavailable?

    Another option?

    One of the most common causes of this error is that your WooCommerce products are not properly synced with your inventory. To fix this, you will need to go to WooCommerce > Settings > Products and make sure that the “Inventory Synchronization” setting is turned on. Once you have done this, your products should be properly synced with your inventory.

    #26807
    Joe
    Guest

    people are still posting replies to that GitHub issue in October 2024 so apparently it was never really fixed???

    #27494
    Sara
    Guest

    Latest comment there

    For those still experiencing this issue with variable products going out of stock seemingly at random, there is a chance it was related to corrupt transient data. There has since been a fix for this that has been merged and verified by others experiencing this too. It’s due to be released in WooCommerce 9.7 (due to be released on the 24th Feb 2025) and hopefully fixes it for remaining users who suffer from this.

    More context: https://github.com/woocommerce/woocommerce/issues/50855#issuecomment-2624360059

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Woo products “out of stock” variations but there is stock?

Thanks to our generous sponsors for their support!