Closed Varshal24 closed 9 months ago
Hi @Varshal24. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
We're seeing the same issue. Has anyone found a solution to this?
same here, I logged this on the main magento branch here: https://github.com/magento/magento2/issues/37433 as it affects non-MSI installations by simply overwriting the source qty of all existing children in the configurable rather than removing the source outright
This issue has been solved in the magento developer branch . These are the two commits regarding it (https://github.com/magento/inventory/commit/204131ea0ee8383d099db15ae3475ee957b52480) & (https://github.com/magento/magento2/commit/1e17b1e86203e2989ad2fb15b0f4e97c1d5d1def)) .
@Varshal24 How do I apply this fix in Magento 2.4.5?
@yurirn You can fix this issue by creating an patch.
@Varshal24 I have the same problem, I saw that you said to apply a patch,
but which of the commits do I have to apply? (204131e) or (magento/magento2@1e17b1e))
can you help me?
@devphp74 You can use (https://github.com/magento/inventory/commit/204131ea0ee8383d099db15ae3475ee957b52480) to resolve the issue. However, I suggest that the best approach is to upgrade your shop to the latest version of Magento, which will automatically resolve this issue.
Preconditions (*)
Steps to reproduce (*)
Create one or more extra sources
Create configurable products
Add one or more simple product
Set simple product quantity using default source and save the product
Then go into Edit Configuration and select (Skip quantity at this time) in the Quantity per source and than save the product
The quantity will remove from the simple product.
In this inventory_source_item the entry of those products quatity will also remove.
Description (*)
The Quantity is removed from configurable products child variants. And the entry of those source_item from inventory_source_item table is removed because of that the product is showing out of stock in the front end.
Expected result (*)
Actual result (*)