In Magento 2.3.4 I have changed the 'Stock Status' to Out of Stock for a product. I've left the quantity at 100 and the Salable quantity remains at 100. Is there a Cron event that changes the item to be 'In Stock' based on quantity? I have items that appear back 'In Stock' after I have clearly changed them to Out of Stock.
Hello @mraccine ,
I think the cron event is not changing the status of the quantity. But try this way.
Set all store products to In stock: Catalog->Manage Products, Select all products -> Select "Actions"->Update Attributes -> Submit, Select Inventory -> Stock Availability = In Stock -> SAVE
Re-index all indexes.
Once you have done, all products are In Stock and you will only set the products Out of stock when the value goes below zero (our setting is -1).
Now apply the IF condition that if the product is "In Stock" then display the Add to cart, this needs to be removed now and the site has been modified in order to display for all products.
Hope this will help you!
Click kudos and accept it as an answer.