Adding a Customer Filter to Collections Page

Topic summary

A user is trying to display specific metafield filters on certain collection pages using the Trade Theme. They’ve already set up the Search & Discovery app and enabled filters in product grid settings, but need help controlling which filters appear on which collections.

A solution is provided with two approaches:

Basic Setup:

  • Add metafield filters through the Search & Discovery app (Filters > Add filter)
  • Ensure metafields are properly configured in the product schema
  • Note: Filters are global by default

Collection-Specific Display:

  1. Edit theme code (Online Store > Themes > Edit Code)
  2. Modify the collection template (e.g., main-collection.liquid) to conditionally show filters based on collection handle
  3. Use Liquid logic to wrap filter sections

Alternative approach: Create custom collection templates with different filter configurations and assign them individually to collections.

The discussion remains open with no confirmation from the original poster about implementation.

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

Hi! I am wanting to add specific metafield filters to specific collections pages and I have setup the Search & Discoverability app and enabled filters in my product grid settings but I am struggling how to pick the filter that shows and make it appear? I am using the Trade Theme. Example of my website.

hi @jordanbford1

Thanks for reaching out. You’re on the right track by enabling filters through the Search & Discovery app and configuring your product grid settings. To show specific metafield filters on particular collection pages using the Trade Theme, here’s what you can do:

1.Go to the Search & Discovery app in your Shopify admin.

2.Under Filters, click “Add filter” and select the metafield you want to use as a filter. Make sure the metafield is set up correctly in your product schema.

Once added, filters are global by default—so to show them only on certain collections, you’ll need to customize the theme code slightly.

Here’s how to control filter visibility by collection:

Go to Online Store > Themes > Edit Code.

In your main-collection.liquid (or similar collection template), wrap the filter section with logic that checks for the current collection handle. For example:

{% if collection.handle == 'your-collection-handle' %}
  {% section 'faceted-filters' %}
{% endif %}

4.Alternatively, you can create custom templates for specific collections and assign them via the collection settings in Shopify. Each template can include different filter setups.