-
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
2 error messages in Cart when product is out of stock #27469
Comments
Hi @stkrelax. 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:
For more details, please, review the Magento Contributor Assistant documentation. @stkrelax do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @sudheers-kensium. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @sudheers-kensium. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hi @sudheers-kensium, here is your Magento instance. |
@sudheers-kensium thank for having a look. Any questions than just ask i will try to answer immediatly |
✅ Confirmed by @sudheers-kensium Issue Available: @sudheers-kensium, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Adittional notice : |
@magento I am working on it |
Hi @neerajchand! 👋 |
Hi @madhurajawat. Thank you for working on this issue.
|
@magento I need to fork MSI directory. Can you please provide the permission |
@stkrelax There is code added in InventorySales module di.xml. with this code getting 2 errors.
We can remove this code. |
@madhurajawat will have a look at it |
sry we decided to disable msi. Other oversale reasons are the cause. |
Uhm, what exactly happened here? Has it been fixed? If not, why did this issue has been closed? It stills occurs at our Magento, 2.4.1 version. |
One of the errors is produced by this: And the other by this: The fix should probably be:
|
Anyone know any way to fix this? |
@NachoVidalGolosinas run this command in your database terminal. INSERT IGNORE INTO inventory_source_item (source_code, sku, quantity, status) |
Preconditions (*)
Magento 2.3.3, CatalogInventory Modules and MSI Modules enabled
Steps to reproduce (*)
Expected result (*)
Actual result (*)
This product is out of stock. --> from CatalogInventory
There are no source items with the in stock status --> from Magento_InventorySales
The text was updated successfully, but these errors were encountered: