# Add sub-collections to filter option

✨The smart product filter & search app provides a feature to add sub-collections to the collection filter option. It will allow you to create a collection tree as in the below screenshot.

📝 Note: This feature only works with **Filter Options** whose **Data source** is **Collection!**

<figure><img src="https://2009335375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKmtdB4I84W3J8hc91H4S%2Fuploads%2FjBzacT54JlOP1jbWTwAo%2Fimage.png?alt=media&#x26;token=37730ccb-2123-4bd6-ac65-93c4adc60d3e" alt=""><figcaption></figcaption></figure>

### ⚡️Step 1: Add the Collection filter option

1. Open the **Smart Product Filter & Search** app from your Shopify admin.
2. Go to the **Filters** section (in the left-hand menu).
3. Open the filter sidebar you want to edit (e.g., “Collection Page” sidebar).
4. Click **+ Add filter option**.
5. Choose **Collection** as the Source.
6. Turn ON the checkbox that says **Build a collection tree with multi-level sub-collections**.

<figure><img src="https://2009335375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKmtdB4I84W3J8hc91H4S%2Fuploads%2FE6xnPZbh7v6Fj50hNpB3%2Fimage.png?alt=media&#x26;token=256a72be-2be4-4ec9-a9d2-4ad9db5e7ca7" alt=""><figcaption></figcaption></figure>

***

### ⚡Step 2: Set Up Parent-Child Collection Structure

* To define a **main collection (parent)** and **sub-collections (children)**, Drag and drop collection values to the expected position to build a collection tree.
* Remove any collections by clicking the **X** icon.

<figure><img src="https://2009335375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKmtdB4I84W3J8hc91H4S%2Fuploads%2FJm5voVnvZDzyAqoPYenj%2Fimage.png?alt=media&#x26;token=1b42bb4d-bcbd-43d4-8ce7-8d42b391ffb1" alt=""><figcaption></figcaption></figure>

***

### ⚡️Step 3: Save and Preview

Once you've added the Collection filter option, click **Save**.\
Go to your storefront and check the filter sidebar. You should now see collections displayed in a tree format (with sub-collections nested under parent ones).

***

### 💬 Need Help?

If you need support, feel free to email us at:\
**📩 <contact@globosoftware.net>**
