Hide a specific filter on a specific collection page

Topic summary

A Shopify store owner using Dawn 2.0 wants to selectively hide specific product filters on certain collection pages. The main use case involves hiding the “Wheelbase” filter on the Skateboard Decks collection page, where most products lack this attribute, while keeping it visible on other collections where it’s relevant.

Proposed Solutions:

  • Initial suggestion: Modify facets.liquid by adding a condition {% if filter.values.size > 1 %} to hide filters with limited values. Screenshots provided show implementation location.

  • More flexible approach: Create an array of collection names and use an unless statement to exclude specific filters on designated collections:

{%- assign special_collections = 'Skateboard Decks,Longboard Decks' | split: ',' -%}
{%- unless special_collections contains collection.title and filter_label == 'Wheelbase' -%}

Important fix: The initial code caused pricing filters to disappear. Solution: Add or filter.type == 'price_range' to line 114:

{% if filter.values.size > 1 or filter.type == 'price_range' %}

Several other users reported similar needs for hiding brand/product type filters on specific collection pages. The discussion remains open with ongoing requests for implementation help.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

Sure please feel free to connect to the inbox mentioned in below signature.