How to Hide Sold-Out Products in Shopify Collections?

You can automatically hide sold-out products in a collection by using Shopify’s built-in collection rules. No additional apps are required.

This method works when the collection type is Smart.

Steps

  1. Go to Shopify Admin → Products → Collections.

  2. Create a new collection or edit an existing one.

  3. In Collection type, select Smart.

  4. Add the rule:

    Inventory stock → is greater than → 0

  5. Save the collection.

After this rule is applied, any product that becomes sold out (inventory = 0) will automatically be removed from that collection. When the product is restocked, it will appear in the collection again automatically.

Notes