Filter shows only what is actually in stock
Why
A customer picks “black, size M” in a category — and sees dresses that have no black M left in stock. When Shop-Script filters by SKU features, it only checks that such an SKU exists for the product; it never looks at the stock balance.
Then one of two things happens: the customer opens the product page, hits “out of stock” and leaves, or places an order for something you do not have and a manager calls to apologise. Both are lost money — except in the first case you never even find out.
What the plugin does
It adds a stock condition to the very same query. The filter starts answering “what can I buy right now” instead of “what has ever been added to the catalogue”.
Settings
How it works
The plugin hooks the standard products_collection.prepared event: the product collection is already built but the query has not run yet — that is where the stock condition is added. It creates no tables of its own, writes nothing to the catalogue, uses no external services and affects neither prices nor order totals. In the backend it appears nowhere except its own settings page: backend product lists stay complete.
Compatibility
Quantity prices, multiplicity, minimum batch
7 days free
Products with no sales and money stuck in stock
7 days free
Discontinued products redirect instead of 404
7 days free