If you want to hide products that are low in stock or out of stock, you need to set the following option in your shop configuration.
Xstocklow |
This is the stock level below which products will be hidden. For example – 1. |
In the example above, only products with a stock level greater than 1 will be displayed.