As Magento 2.3 have default behavior that it decreases the qty from "Product Salable Quantity" after order placed not the "Source inventory
". The main qty(source inventory) of a product is decreased after the order is completed.
I have multiple stores in my setup and I am using multisource inventory.
I have created 2 stocks from "Stores => Stocks
" with
- default
- demo stocks
Created 3 sources as well from "Stores => Sources
".
- Src1
- Src2
- Src3
i.e. If we have a product name XYZ and it has qty 1. when an order is placed then "Product Salable Quantity
" is decreased and it is 0 but the "Source inventory
" still showing qty 1 and out of stock.
in this case, the product is showing on the category page as "In Stock
" but when we go to the product page it is showing "Out of Stock
".
How can we update the qty(source inventory) for a product so it will become "out of stock
" and don't display on the category page?
Or how can we disable this kind of products from category pages?
If anyone has an idea please let us know?