- This topic is empty.
-
AuthorPosts
-
November 3, 2023 at 10:10 am #8757
Anna
GuestI 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
November 3, 2023 at 10:12 am #8758Amber
Guestadd_filter( 'woocommerce_ajax_variation_threshold', 'wc_ninja_ajax_threshold' ); function wc_ninja_ajax_threshold() { return 100; }This also never helped
November 4, 2023 at 1:04 am #8763Kimberly
Guestthe never ending bugs and bloat with WooCommerce…. whyyyy
November 4, 2023 at 1:04 am #8764Janet
GuestThe transients system can also cause conflicts.
November 4, 2023 at 2:01 am #8765Diane
GuestNovember 4, 2023 at 2:16 am #8766Jonathan
GuestMy 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?
November 4, 2023 at 2:18 am #8767Deborah
GuestGreat stuff!
November 4, 2023 at 2:21 am #8768Steven
Guestwell well… object cache strikes again
November 4, 2023 at 2:21 am #8769Billy
GuestHow 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.
October 18, 2024 at 11:16 am #26807Joe
Guestpeople are still posting replies to that GitHub issue in October 2024 so apparently it was never really fixed???
February 6, 2025 at 5:55 pm #27494Sara
GuestLatest 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
-
AuthorPosts