Filtering with tags
Filter products by using tags. With group tagging, you can create custom filter groups to help shoppers find products in your collection
Note: this feature is included to support legacy store configurations. The modern method is Filtering with metafields. Pipeline includes the tagging method to help customers that have used the feature with older theme versions and have a large library of tagged products.
Custom filter groups can be easily created to help shoppers customize the product listing on your collection pages:
Mobile collection drawer with filter group options
Desktop collection sidebar with filter group options
Start by adding custom product tags to your products in the Shopify Admin -> Products -> Tags:
Tip: Add multiple tags to link with multiple filter groups
In the Theme Editor, navigate to a collection page (choose the Default collection or any other collection template). Under Collection product grid, choose Add block and pick the block: Legacy: Tag group
Theme Editor -> Default collection template or other collection template
In the block settings (click on the block):
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
Save your changes.
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.
Last modified 8mo ago