0

I tried the below scenario in Magento 2.4.0 version

Anyone please try the below scenario in your Magento 2.4 version ?

I created one configurable product and it's two simple children with 100 qty.

Before Order place: I went to Admin Product Grid there are two columns Quantity and Salable Quantity. One child product has 100 Quantity and Salable Quantity are 100

After Placed order: In Admin product grid, same child product has salable quantity is 0 and quantity column shows 100 quantity and when I went product edit page it still shows in stock status even no backorders and Manages stock set to yes and I did reindex.

Expected Result: when the product becomes zero salable quantity it should automatically change stock status out of stock

Actual Result: when the product becomes zero salable quantity it does not change stock status from in stock to `out of stock

Anyone faces above issue in your Magento 2.4 version ?

10
  • That is what currently works with MSI. You need modification for that.
    – Sohel Rana
    Aug 1 at 9:48
  • @SohelRana it means is it bug right now ? Aug 1 at 9:54
  • I also got a report from this issue from my manager last week; I might take a look at it in the week. I'll keep track of it. Default source indicate 0 quantity, but the product still shows as available in front side. Don't know if this is a m2 bug or not, but there has to be a workaround. I'll keep you updated of what I find.
    – Claims
    Aug 1 at 9:56
  • @Claims ok thanks Aug 1 at 10:18
  • yes. That is bug.
    – Sohel Rana
    Aug 1 at 11:03
1
+50

In My Project, I am using external Stock so Order Invoice & Shipment not happening at Magento's end, so I need to change the inventory based on order placement.

The following module works as you expect. If the customer places the order if qty 1 then this below module made that product stock status as "Out Of Stock".

This module removes OR Disable the inventory reservation on order placement. You can find the order item qty decrement in order placement itself for qty & salable qty.

Magento 2 Module Source Link : [https://github.com/AmpersandHQ/magento2-disable-stock-reservation][1]

Please check the additional notes on the reference link.

4
  • 1
    we are using MSI so we do not want to disable MSI Aug 6 at 13:23
  • As far as I was aware that module doesn't disable MSI completely, but basically changes the reduction of stock on order and not on shipment. So it basically stops the reservation system happening
    – elfling
    Aug 6 at 15:34
  • @elfling because of this issue at frontend it does not show out of stock message at frontend side. I just checked the Magento2.4.3 release notes and they solved issue and show out of stock message when salable qty becomes zero.check this link devdocs-beta.magento.com/guides/v2.4/release-notes/…. Aug 6 at 17:54
  • @jitendrapatel thank you Aug 7 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.