-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Increase product quantity with disabled Manage Stock when place order is failed #19482
Comments
Hi @iGerchak. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @iGerchak do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
@engcom-backlog-nazar Thank you for verifying the issue. Based on the provided information internal tickets |
Hi @khodu. Thank you for working on this issue.
|
Hi @agorbulin. Thank you for working on this issue.
|
…-order-is-failed Magento2:magento#19482 Increase product quantity with disabled Manage Stock when place order is failed
…-order-is-failed Increase product quantity with disabled Manage Stock when place order is failed magento#19482
Hi @iGerchak. Thank you for your report.
The fix will be available with the upcoming 2.3.1 release. |
…-order-is-failed Magento2:magento#19482 Increase product quantity with disabled Manage Stock when place order is failed
…-order-is-failed Increase product quantity with disabled Manage Stock when place order is failed magento#19482
Hi @agorbulin, Because of this issue Inventory for product is changing time to time --> it's causing product reindexing --> it's causing flushing cache for this product. For best sellers flushing cache during big promos - really not expected thing. |
Hi @iGerchak. Thank you for your report.
The fix will be available with the upcoming 2.2.9 release. |
After failed order, Magento increase product quantity, make reindex for this product and flush cache while in the product Manage Stock in disabled
Preconditions
Steps to reproduce
Expected result
Actual result
Tech details
It happens becouse Catalog Inventory has event for
sales_model_service_quote_submit_failure
how run
$this->stockManagement->revertProductsSale($items, $quote->getStore()->getWebsiteId());
where$items
its all items from QuoterevertProductsSale
makecorrectItemsQty
(increase) for each items (include itemd with Manage Stock in disabled)The text was updated successfully, but these errors were encountered: