# Tag grouping

Custom filter groups can be easily created to help shoppers customize the product listing on your collection pages:

<div align="center"><img src="https://894491487-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LovEU3LvzkJzFkXarYD%2F-MK1MCyfHbYqUdrmWKAR%2F-MK1Nrw67Cz7CsDLkhzO%2Fcollections-mobile-sidebar.jpg?alt=media&#x26;token=3520c1ec-2ef5-4fe1-b059-251c07da57ca" alt="Mobile collection drawer with filter group options"></div>

<div align="center"><img src="https://894491487-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LovEU3LvzkJzFkXarYD%2F-MJn8zIf5ID4dPK2rfKK%2F-MK15PN4fT2PF5PoPLMM%2Fcollections-side-bar-group-tagging.jpg?alt=media&#x26;token=9c4a76c1-01bc-42f8-94c1-c09792426f57" alt="Desktop collection sidebar with filter group options"></div>

## Setup

Start by adding custom product tags to your products in the Shopify Admin:

![Tip: Add multiple tags to link with multiple filter groups](https://894491487-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LovEU3LvzkJzFkXarYD%2F-MJn8zIf5ID4dPK2rfKK%2F-MK1HT2jHCTU0v8arTlu%2Fshopify-admin-products-tags-edit.jpg?alt=media\&token=7869d8c4-ddc3-4b08-b214-c60de6a9a13f)

In the Theme Editor under Collection, Collection page. In the Content section, choose Add tag grouping:

![Use Add Tag grouping for each filter group](https://894491487-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LovEU3LvzkJzFkXarYD%2F-MJn8zIf5ID4dPK2rfKK%2F-MK1959doi8cWwjBjhW-%2Fcollection-page-settings-content-group-tagging.jpg?alt=media\&token=2ec8ccb4-3ed7-43bf-aae8-95b68dd54bca)

Add a Group name which will be displayed as the heading for the filter group. Followed by a list of tags for the group.

![Use a comma after each tag ](https://894491487-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LovEU3LvzkJzFkXarYD%2F-MJn8zIf5ID4dPK2rfKK%2F-MK19fhasvSfUjO1uQKj%2Fcollection-page-settings-content-group-tagging-options-example.jpg?alt=media\&token=c9bacf05-19e1-4723-bc75-52c9631509e1)

## Dynamically displayed for each collection

Groups and tags are dynamically displayed on collection pages. Tags within a group will only appear as filter options if the collection contains products that are tagged with the tag. For example, the group Color, will only show the filter option Terrazzo if the current collection has a product tagged with Terrazzo. If none of the tags in a group match the current collection, the entire group will be hidden.&#x20;
