When I'm trying to change the stock status to 'Out of stock' and 'Manage stock' is set to 'No', the stock status stays 'In Stock'. I'm not sure if this is intended behaviour or not, but if I recall correctly, when 'Manage stock' was set to 'No', it would only affect the increment / decrement of the stock qty. You were always able to set the status to 'in stock' or 'out of stock'.
I can confirm I have the same problem too. I do not want to manage stock levels, only a binary in stock / out of stock.
@kanduvisla thank you for your report but I'm closing this issue as not a bug.
As there is no need in status when you do not manage stock.
However you can report an improvement to Magento 2 Feature Requests and Improvements forum (see details here)
Hi @veloraven,
I disagree that this is not a bug. When you choose not to Manage Stock Levels you should still be able to set a product as in stock, or out of stock manually.
Instead when a product has the value of In Stock, you change this to Out of Stock and click save, it simply doesn't save the value and the value remains as In Stock with no feedback on the screen. This is incredibly confusing for users of the system who simply believe there is a fault that this status field is not being saved.
The work around is that we have to set to "Manage Stock" - Yes, and only then change the status to Out of Stock. There is no longer a way to set a product as Out of Stock without changing Manage Stock to yes. Are you saying that you are now enforcing users to manage their stock levels?
The consequence of the above is that once you have had to change the settings to forcibly manage the stock to simply mark a product as out of stock you can't just select "In Stock" as the Quantity is 0 and Manage Stock is set, so you have to tell the system you no longer wish to manage the stock.
All of which is very hacky, so I can't believe that this is intended functionality?
I'm also experiencing this bug on 2.1.8.
I have virtual products and do not need to manage stock quantities at all.
But ability to change 'in stock' or 'out of stock' is still required.
This is bug and should be resolved as bug and not as improvement.
I agree with everyone saying that this is a bug. I don't want to manage stock levels, but still want the ability to mark a product as out of stock.
I believe this to be a bug too. Forcing stock management in order to able to flag an item as out of stock seems absurd; levels vs status seem like they should be independent?
Seems like this may still be an issue in the latest 2.2.
Most helpful comment
Hi @veloraven,
I disagree that this is not a bug. When you choose not to Manage Stock Levels you should still be able to set a product as in stock, or out of stock manually.
Instead when a product has the value of In Stock, you change this to Out of Stock and click save, it simply doesn't save the value and the value remains as In Stock with no feedback on the screen. This is incredibly confusing for users of the system who simply believe there is a fault that this status field is not being saved.
The work around is that we have to set to "Manage Stock" - Yes, and only then change the status to Out of Stock. There is no longer a way to set a product as Out of Stock without changing Manage Stock to yes. Are you saying that you are now enforcing users to manage their stock levels?
The consequence of the above is that once you have had to change the settings to forcibly manage the stock to simply mark a product as out of stock you can't just select "In Stock" as the Quantity is 0 and Manage Stock is set, so you have to tell the system you no longer wish to manage the stock.
All of which is very hacky, so I can't believe that this is intended functionality?