• Resolved yes369

    (@yes369)


    Hi. I see that this issue was reported a few times and no proper solution was able to be found. For example, here. So…

    When user A adds the product to cart it blocks for other users before he makes the purchase..
    It allows user B to add to his cart…

    Once he goes to the cart page, shows an error “There is not enough “…” in stock. Please reduce the quantity in your cart.”

    It should only remove the product after someone actually buys.

    • Thing i noticed – Exactly when user clicks to go to checkout… a DRAFT order is created and i guess that blocks for everyone.

    The gold is to WooCommerce to not remove or block an item from inventory until someone actually buys.

    More information in GitHub.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter yes369

    (@yes369)

    So, this is exactly the problem. The stock management option is not working.

    I went to WooCommerce > Settings Products > Inventory.

    And changed the settings to 0 minutes / 5 minutes & 60 minutes.

    It had no effect, it is not working.

    When user adds the product to cart a DRAFT order is created.

    On that order notes is written “Stock hold of 10 minutes applied to: product” – Even changing setting the 10 minutes hold does not change.

    So, here is the question: – How to not create a stock hold until the user pays for the product?

    Images showing situation:

    https://ibb.co/HNhPwWc
    https://ibb.co/hZFWj8q
    https://ibb.co/P13WnsK

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello yes369

    Thank you for contacting WooCommerce support.

    Regarding the error message "There is not enough ... in stock" that appears for other users when a product is added to a cart but not yet purchased, as you have highlighted, this issue has been noted before and is being investigated by our development team.

    To stay informed on the progress, you can subscribe to updates on the GitHub issue that’s been reported a few days ago.

    For your second query about the stock hold, it’s important to clarify that the WooCommerce Hold Stock option is designated for unpaid orders with a "Pending payment" status.

    The Hold Stock timer begins only after a customer proceeds to checkout and will hold the product for the specified duration to give them time to complete payment. Unfortunately, it doesn’t affect products merely added to the cart and not yet in the checkout process.

    As you observed, even after changing the hold duration in WooCommerce > Settings > Products > Inventory, it does not impact items that are only in the cart and not part of an initiated checkout. Adjusting the Hold Stock setting will not alter this behavior.

    For a deeper understanding of these inventory options and their intended function, you may want to review the details provided in our documentation here: https://docs.woocommerce.com/document/configuring-woocommerce-settings/#products-inventory-options.

    We are here to support you through any concerns or additional questions you may have, so please don’t hesitate to get in touch. ??

    Best regards.

    Thread Starter yes369

    (@yes369)

    This is a major bug. The store becomes useless without a proper working cart.

    In wich link can i check the progress of this situation?

    Hey, @yes369!

    I understand how important it is to solve this issue.

    As you can see on the GitHub link you shared, we added this to the backlog to investigate the issue and work on it. You can follow the GitHub issue to get updates on this.

    We are doing our best to fix it as soon as possible.

    We can’t specify a date when the bug will be fixed, it is still in progress. We apologize for any inconvenience this may have caused you, and we thank you for your patience and for reporting it.

    Please let us know if there’s anything else we can do to help.

    Have a wonderful day!

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @smgdarien,

    As you know, the dev team is already aware of this issue. However, at the time being, we can’t give you an estimate for when the team will look into or fix the issue, as bug reports are prioritized based on a few criteria. Please subscribe to the GitHub issue if you’d like to receive updates.

    I hope this helps! If you have any other questions, feel free to ask.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Quantity in stock to 0 before user pays’ is closed to new replies.