Collection pages

Help customers find the right product fast with a clear collection header, flexible product grid, filters and sorting.

Overview

Collection pages are built from two sections: Collection header shows the collection title, description and image, and Product grid lists the products with optional filtering, sorting and pagination. You can place promotional banners between the product cards, and show filters either in a drawer or in a sidebar next to the products on desktop. The Search results page uses the same filtering, sorting and pagination settings.

Collection header

The header shows the collection's title and description. The collection image can be shown next to the text or as the header background. Add the description and image by editing the collection in Products → Collections.

Collection header settings
Setting Type Default Description
Color scheme Color scheme Default Sets the background and text colors for the header.
Show breadcrumb Toggle Off Shows the navigation path above the title. Use metafields to add more levels.
Image layout Select Show next to text Options: Hide collection image, Show as background, Show next to text.
Center title and description Toggle Off Centers the title and description text.
Show 'Read more' button for long text Toggle Off Descriptions longer than 250 characters are shortened and can be expanded by customers.
Margin top / bottom (desktop) Range 80 / 40 px Space above and below the header on desktop. Between 0 and 160 px.
Margin top / bottom (mobile) Range 40 / 0 px Space above and below the header on mobile. Between 0 and 160 px.

Product grid

The Product grid shows the collection's products using your product card settings. Above the grid, a bar shows the Filter button, the product count and the sort options. On tablet and desktop they sit on one row — filter on the left, count in the middle and sorting on the right. On mobile the count moves to its own row.

Product grid settings
Setting Type Default Description
Color scheme Color scheme Default Sets the background and text colors for the section.
Products per page Range 16 How many products load at a time. Between 1 and 50.
Pagination Select Pages How more products are loaded. Options: Pages, Button, Infinite scroll.
Show product count Toggle On Shows the number of products in the collection, or the filtered count when filters are active.
Show sort options Toggle On Lets customers sort products, for example by price or newest first.
Filtering settings

These settings are shown when Show filter options is on.

Setting Type Default Description
Show filter options Toggle On Lets customers narrow down products using the filters set up in the Search & Discovery app.
Show filters as a sidebar on desktop Toggle Off Shows filters and sorting in a sidebar next to the products on desktop. Tablet and mobile use the filter drawer.
Show color swatches in filter options Toggle On Shows color filters matched by the color swatch identifiers as swatches. Filters with swatches set up in Search & Discovery always show as swatches.
Default state of filter groups Select Open Whether filter groups start open or closed. Add [open] or [closed] to a filter name to override it for that filter.
Filters shown as buttons Text Size Comma-separated filter names shown as small buttons instead of checkboxes.
Desktop layout
Setting Type Default Description
Full width Toggle Off Stretches the grid across the full width of the screen.
Products per row Range 4 Between 1 and 6.
Grid gap Range -1 px Space between products. Set to -1 to use the Theme settings Gutter value. Between -1 and 40 px.
Margin top Range 0 px Space above the section. Between 0 and 160 px.
Margin bottom Range 0 px Space below the section. Between 0 and 160 px.
Tablet and mobile layout

Tablet uses the desktop grid gap and margins.

Setting Type Default Description
Products per row (tablet) Range 4 Between 1 and 4.
Products per row (mobile) Range 1 Between 1 and 3.
Grid gap (mobile) Range -1 px Space between products on mobile. Set to -1 to use the Theme settings Gutter value.
Margin top / bottom (mobile) Range 0 px Space above and below the section on mobile. Between 0 and 160 px.

Filtering and sorting

Filters come from Shopify's Search & Discovery app — you choose which filters exist there, and the theme displays them. Customers open the filters from the Filter button, or see them in the sidebar on desktop when Show filters as a sidebar on desktop is on.

Each filter group shows what's selected next to its name, so customers can see their choices even when a group is closed:

  • Checkbox filters show the number of selected values, for example "2 selected".
  • Price shows the selected range, for example "$50 – $150", or "> $50" when only a minimum is set.
  • Sorting in the sidebar shows the current sort option and always starts closed, like a dropdown.

Set up filters

  1. From your Shopify admin, open the Search & Discovery app.
  2. Click Filters, then Add filter, and choose for example Availability, Price, Color or Size.
  3. Click Save.
  4. In the theme editor, open a collection page and select the Product grid section.
  5. Make sure Show filter options is on, and choose the filter layout and default state.
  6. Click Save.

Choose the default state

If you have many filter groups or long lists of options, set Default state of filter groups to Closed. Customers then see all the group names at a glance and open only the ones they need, instead of scrolling past long lists. If you have only a few groups with a handful of options each, keep it Open so every option is visible right away.

Open or close a single filter

Keep the most useful filters open and the rest closed: set Default state of filter groups to Closed, then add [open] to the name of the filter you want open — for example "Size [open]" — in the Search & Discovery app. It works the other way too: [closed] closes a filter when the default is Open. The marker isn't shown to customers.

Filter names in several languages

Filters shown as buttons matches filter names exactly, for example "Size". If your store has several languages, translate the value in the Translate & Adapt app so it matches the translated filter names, for example "Koko" in Finnish.

Replaced in Taiga 9.0.0

The "Filters as buttons identifiers" translation (Online Store → Languages) has been removed. If you had changed it, add the same filter names to Filters shown as buttons in the Product grid and Search results sections.

Pagination

  • Pages shows numbered page links below the grid.
  • Button shows a Load more button that adds the next products to the same page.
  • Infinite scroll loads more products automatically as customers reach the end of the grid.

With Button and Infinite scroll, customers see how far they've browsed, for example "Showing 24 of 34 items", with a progress bar. You can change the text in Online Store → Languages by searching for "Showing items".

Make large collections easy to shop

Customers who narrow down a large collection with filters find a matching product faster and are more likely to buy. Keep the filters your customers use most — like size and price — open, and show clothing or shoe sizes as buttons so they're quick to tap on mobile.

Keep customers browsing

Button or Infinite scroll pagination keeps customers on the same page as they browse, and the "Showing 24 of 34 items" progress tells them how much is left — encouraging them to see the whole collection.

Collection banners

Add Banner blocks to the Product grid to show images or videos between the product cards — for example a seasonal campaign, a brand story or a link to a related collection.

Add a banner

  1. In the theme editor, open a collection page and select the Product grid section.
  2. Click Add block and choose Banner.
  3. Set the banner's Position in the grid, for example 3 to show it as the third item.
  4. Choose a Media type and add an image or video.
  5. Optionally add a Heading and a Banner link.
  6. Click Save.
Banner settings
Setting Type Default Description
Position Range 3 The banner's place among the product cards. Between 1 and 50.
Page shown Select First Show the banner on the first page only or on all pages. Only available with Pages pagination.
Banner link URL — Where the banner takes customers when clicked.
Media type Select Image Options: Image, Video, External video.
Image / Video / Video URL Media — The banner media. External videos support YouTube, Vimeo and MP4 links.
External video's aspect ratio Text 16:9 Aspect ratio for external videos.
Heading Text — Optional text shown on top of the media.
Heading style Select Heading Options: Heading, Body text, Subheading, Primary button, Secondary button, Link. Buttons appear disabled without a banner link.
Heading position Select Bottom left Where the heading sits on the banner.
Heading color Color #FFFFFF Color of the heading text.
Overlay color / opacity Color / Range #000000 / 0 % A tinted layer over the media to make the heading easier to read.
Banner column width Range 1 How many product columns the banner spans, set separately for desktop, tablet and mobile. Can't exceed the products per row.

A banner that spans two columns stands out without pushing products too far down. Use a heading over a darker overlay so the text stays readable on busy images.


Advanced

This section is intended for developers customising the theme. No changes here are required for normal use.

Filter group markers

Filter groups follow the section's filter_groups_default_state setting (open or closed), passed to snippets/facets.liquid as default_state. A filter name containing [closed] or [open] overrides it; both markers are stripped from the label, the screen reader legend and the active filter pills. Button-style and name-based swatch filters are matched on the name without markers, exactly and case-insensitively.

Selected info in filter labels

The label pill (.filter-group__count) is rendered in Liquid and updated client-side by updateFilterCounts() in assets/component-facets.js after each filter change, because the filter forms are not re-rendered over AJAX. Checkbox groups use the products.facets.filters_selected translation; price groups format the range with the store's money format.

Pagination progress

The progress in snippets/pagination.liquid is calculated from paginate.current_offset + paginate.page_size, capped at paginate.items. Load more replaces #pagination-ajax with the next page's version, so the count accumulates without extra JavaScript. The bar track uses the --color-foreground-alt color scheme variable (the text color blended 15% into the background).

The sidebar's sticky offset follows the sticky header: top uses --sticky-header-margin-top plus --gutter while the header is shown, and only --gutter when html.sticky-header-hide is set.