-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Product inventory should update when a new order is created #4337
Comments
Quantity should not be updated on the admin side when an Sale order is created. Admin should see the actual quantity but on the customer side product’s quantity should first less the quantity of products in sale orders and show that quantity to avoid over sold products. |
We'll schedule this bugfix once we start to work on the GraphQL API for checkout and orders. |
I actually think this was "as designed", since there were concerns that the store owner "accept' the order before it reduce inventory. More likely this should be configurable. |
This points to two separate but connected issues - as @mkhizeryounas has noted.
Both of these numbers are important, and it seems that we need to add some property or method to keep track of the ATS numbers so that shops can prevent overselling. |
The actual inventory should not minus when an order is placed but invetory available to sell on storefront shou reflect the actual inventory - sale orders to avoid negitive order placement. |
I've been working on this. PR #4859 has the solutions. We've added a second field, The existing field, In the time between when a customer places an order, and the order is approved, these numbers will be different. The operator will see an editable field for The customer will always see inventory numbers and statuses based off the |
Closed via #4859 |
Prerequisites
Issue Description
Currently, RC updates a product's inventory count after an admin processes an order. A product's inventory count should update when a new order is created.
Steps to Reproduce
Possible Solution
N/A
Versions
The text was updated successfully, but these errors were encountered: