This article explains how to add Searchanise filters to collection pages in Shopify Online Store 2.0 themes (Dawn, next-generation themes).
There are two setup methods:
- Customize your theme – the recommended method.
- Edit your theme code – use this method only if the Searchanise section cannot be added through the theme editor.
If you use a Vintage theme, you should look for the appropriate instructions here.
Before you begin
Before setting up the feature:
- make sure the Searchanise app is enabled in your theme and product indexing is complete;
- create a backup copy of your theme before changing its settings or code.
Searchanise Search & Filter is gradually rolling out a new control panel to Shopify stores. During the rollout, some Shopify stores may still use the previous version. If switching is available for your store, you can try the new control panel and return to the previous version at any time. Learn how to identify your control panel version.
Customizing Online Store 2.0 themes
This is the recommended method for Online Store 2.0 themes. It does not require manual code changes.
Step 1. Enable the feature in Searchanise
Previous admin
- Go to Filters > Filters on collections > Settings.
- Select the Navigation through embedding HTML into the Shopify template option.
- Apply the changes.
New admin
- Go to Filters > Filters on collections > Settings.
- Turn on Filters on collections.
- Select Via theme/code editor.
- Click Save.
Step 2. Add the Searchanise Filters on collection section
- In Shopify admin, go to Online Store > Themes.
- Find the theme you want to configure and click Customize.
- Use the template selector to open a collection template.
- Hide or remove the theme’s default product grid section to prevent two product lists from appearing on the page.

- Click Add section.
- Under Apps, select the Searchanise Filters on collections section.
- Place the section where the collection product grid should appear.
- Click Save.
App sections and blocks can be added, removed, previewed, and repositioned through the Shopify theme editor.
If your store uses multiple collection templates, repeat these steps for each template where Searchanise filters should appear.
If you face any trouble setting up the feature, you can contact us. We will be glad to help you.
Editing Online Store 2.0 theme code
Use this method only if the Searchanise section is unavailable or incompatible with your theme.
Editing theme code requires knowledge of Liquid, HTML, CSS, and your theme’s structure.
Step 1. Create the Searchanise snippet
- In Shopify admin, go to Online Store > Themes.
- Find the theme you want to edit, and click Actions (…) > Edit code.
- In the Snippets directory, click Add a new snippet.
- Name the snippet
searchanise-navigation. - Copy the Searchanise code from this file and paste it into the snippet.
- Click Save.
The resulting file should be named:
snippets/searchanise-navigation.liquid If the content of collection pages loads slowly after installing Filters on collections, we recommend accelerating the loading of the app’s scripts using this guide.
If you face any trouble setting up the feature, you can contact us. We will be glad to help you.
Step 2. Find the collection product-grid section
We recommend backing up the files before changing them. If you disable the Navigating through embedding HTML code into the Shopify template option or delete the app, you’ll have to insert the code you removed back.
- In the Templates directory of the Code Editor, click collection.json.
- Find the collection’s section name that shows products in the type attribute:
- Open the file with the found name in the Sections directory. In the examples above, it is main-collection.liquid, or main-collection-product-grid.liquid, but your theme may have another file name.
Step 3. Replace the product grid
- In the collection section file, find the Liquid and HTML markup that renders the filters and product grid.
- Preserve the
{% schema %}block and the theme settings it defines. - Replace the original product-grid markup with: {% render ‘searchanise-navigation’ %} For example, comment out all the code except the schema code and paste the Searchanise code: Tip
To exclude a specific collection from Filters on collections, add liquid conditions to the template that will regulate when the inserted code should be implemented. See an example:
{% if collection.handle == '[collection_handle1]' or collection.handle == '[collection_handle2]' %} //keep here the default collection template code {% else %} {% render 'searchanise-navigation' %} {% endif %}Paste your collection handles instead of [collection_handle1], [collection_handle2]
- Save the file.
Do not remove the original code permanently unless you have a backup. You will need it if you disable Searchanise or return to the Shopify product grid.
Step 4. Enable the feature in Searchanise
Previous admin
- Go to Filters > Filters on collections > Settings.
- Select Navigation through embedding HTML into the Shopify template.
- Apply the changes.
New admin
- Go to Filters > Filters on collections > Settings.
- Turn on Filters on collections.
- Select Via theme/code editor.
- Click Save.






