Collections and search
Set up product grids, filters, sorting and search results.
Gesture is in development. These early guides grow as the theme does.
Collection and search pages use the same product cards and filter controls. Filters use your store’s product data and the Shopify Search and Discovery app.
Set up a collection grid
- In the theme editor, open a collection template.
- Select Collection.
- Choose Show description and Show image to display the collection’s content from Shopify admin.
- Set Content alignment (Desktop) and Content alignment (Mobile).
- Set Products per page and Columns (Desktop) under Pagination and grid.
- Select Save.
Phones use two columns. Desktop columns remain editable. Product card layout, image ratio, swatches and quick add follow Product cards.
Turn on filters and sorting
- Create the filters you need in the Shopify Search and Discovery app.
- In Collection, turn on Enable filtering and Enable sorting.
- Select Save.
Filter opens a panel on desktop and phone. Customers can select several values, enter a price range, remove active filters or choose Clear all. Show results closes the panel. Filters and sorting update the URL, so customers can share the current selection and use browser Back and Forward.
Set up search results
- In the theme editor, open the search template.
- Select Search.
- Set the heading alignment, filtering, sorting, Results per page and Columns (Desktop).
- Select Save.
Search can include products, articles and pages. The tabs show each result type and its count. Filtering and sorting keep the search query and chosen result type.
Good to know
- A collection without an image displays its heading without an empty image frame.
- Filter options depend on Shopify’s available product data. An option with no matching products is disabled unless it is already selected.
- Searches without matches and empty filtered results show guidance instead of an empty grid.
- A failed update keeps the previous results and offers Try again.
- Colors, desktop padding and mobile padding remain separate section controls. Surface roundness applies to the filter panel and fields; card swatch shapes remain independent.
