# Hide out-of-stock products from your collections

## How to hide out-of-stock products from your collections? <a href="#how-to-hide-out-of-stock-products-from-your-collections" id="how-to-hide-out-of-stock-products-from-your-collections"></a>

To hide out-of-stock products from your collections, you first need to ensure that **inventory tracking** is **enabled** in your Shopify admin. This allows Shopify to automatically monitor the inventory levels of your products.

By hiding products that are out of stock, your collections will remain relevant and clutter-free for customers. These unavailable items will automatically reappear once inventory is replenished.

## Steps to hide out-of-stock products <a href="#steps-to-hide-out-of-stock-products" id="steps-to-hide-out-of-stock-products"></a>

{% stepper %}
{% step %}

### Enable inventory tracking

Start by activating **inventory tracking** for each of your products.

<figure><img src="https://1172126658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgoStNEbk9Q25TX38NhdE%2Fuploads%2FF8tULRCEc0DsDtAgJrb2%2Fimage.png?alt=media&#x26;token=3b8304bd-3286-46d7-8a64-dc2edb047970" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
See how to set up [Inventory tracking](https://help.shopify.com/en/manual/products/inventory/getting-started-with-inventory/set-up-inventory-tracking) here.
{% endhint %}
{% endstep %}

{% step %}

### Set smart collection conditions

For each smart collection, update the conditions as follows:

* Set **Products must match** to **all conditions**.
* For **Inventory stock**, choose **is greater than** and enter **0**.

{% hint style="info" %}
**Note:** This method only works if you set **Products must match** to **all conditions**. If it’s set to match **any condition**, out-of-stock products may still appear.
{% endhint %}
{% endstep %}
{% endstepper %}
