Collections and search

On this page

This page covers the pages where shoppers browse and find products: the collection page, the collection list, the search page and the predictive search panel. It also covers the product card that these pages share, and the theme settings that control cards.

Collection page

The collection page template contains one section, Collection page. Open it in the theme editor from the page selector (Collections), then select Collection page in the left panel. The section has no blocks.

What the page shows, from top to bottom:

  • Breadcrumbs (when Theme settings > Navigation aids > Show breadcrumbs is on), the collection title and the product count.
  • The collection description with a Read more button, when Show collection description is on and the collection has a description.
  • The collection image as a wide banner (16:5), when Show collection image is on and the collection has an image.
  • Sub-navigation chips, when a menu applies (see below).
  • A toolbar with the Filters button and the sorting menu.
  • Chips for the active filters, with a Clear all link.
  • The product grid and the pagination.

Collection page settings

SettingWhat it doesDefault
Products per pageNumber of products on each page of results.24 (12 to 48, step 4)
Show collection imageShows the collection image as a banner above the products.On
Show collection descriptionShows the collection description under the title. Long descriptions are collapsed behind a Read more button.On
Sub-navigation menuA menu shown as chips under the title. Leave it empty to use the sub-items of this collection in the main menu.Empty
Enable filteringShows the filters. Filters are managed in the Shopify Search and Discovery app.On
Filter layoutWhere the filters appear on large screens: Drawer, Sidebar or Horizontal. Below 1024 pixels filters always open in a drawer.Drawer
Enable sortingShows the Sort by menu.On
PaginationPage numbers, Load more button or Infinite scroll. See Pagination.Page numbers
Color schemeColor scheme of the section.Scheme 1
Top paddingSpace above the section.40 px (0 to 120, step 4)
Bottom paddingSpace below the section.0 px (0 to 120, step 4)

If Sub-navigation menu is set, its links appear as chips under the collection title. If it is empty, the theme looks for the current collection in the main menu (the menu named main-menu) and shows the links nested under it. If the collection is not in the main menu, or has no child links there, no chips appear. The chip for the current page is marked as current.

Empty states

  • A collection without products shows “No products yet” and a Continue shopping button.
  • A collection where the active filters match nothing shows “No products match these filters” and a Clear all button.

Filters and sorting

Filters

Filters come from the Shopify Search and Discovery app. Set up which filters exist (product options, availability, price, product type, vendor, metafields and others) in that app. The theme shows the filters the app returns for the collection or search results and does not add its own. If the collection has no filters, the Filters button and the filter area do not appear.

How the filters behave:

  • Filters apply as soon as the shopper changes a value. The page updates without a reload. Without JavaScript, an Apply button submits the form.
  • Value lists show the first 8 values and a Show more button for the rest.
  • The first three filter groups start open. A group with an active value is open too. The others start closed.
  • Values with no matching products are shown dimmed and cannot be selected, unless they are already active.
  • A price filter shows two number fields, From and To, in the shopper's currency, and a hint with the highest price.
  • Filters that Search and Discovery presents as swatches or images show color or image tiles instead of checkboxes.
  • Active filters appear as chips under the toolbar. Selecting a chip removes that filter. Clear all removes every filter and keeps the sort order.
  • The Filters button shows a count of active filters.

Filter layout

LayoutLarge screens (1024 pixels and wider)Smaller screens
DrawerA Filters button opens a drawer on the left. The drawer footer button reads “Show N products” and closes the drawer.Same.
SidebarA column of filters beside the product grid. It stays in view while the page scrolls. The Filters button is hidden.Filters button and drawer.
HorizontalA row of filter buttons above the grid, each opening a small panel. The Filters button is hidden.Filters button and drawer.

Sorting

The Sort by menu lists the sort options that Shopify provides for the collection. Selecting an option reloads the products. Active filters are kept. The menu is hidden when Enable sorting is off or when the collection offers no sort options. To change the default order of a collection, edit the collection in Shopify admin (Products > Collections).

Pagination

Pagination applies to the collection page and to the search page.

OptionBehaviour
Page numbersNumbered pages with previous and next arrows. Not shown when there is only one page.
Load more buttonA Load more button adds the next page below the products, with a “Showing X of Y” line and a progress bar.
Infinite scrollThe next page loads when the shopper reaches the end of the list. After three automatic loads, or when the visitor prefers reduced motion, the Load more button is used instead.

The search page offers Page numbers and Load more button only.

Collection list page

The collection list page (the page that lists all collections, at /collections) has one section, Collection list page. It shows every collection of the store as a tile with the collection image, the name and the product count, 24 collections per page.

SettingWhat it doesDefault
Image ratioShape of the tile images: Portrait 4:5, Portrait 3:4 or Square.Portrait 4:5
Show product countShows the number of products under the collection name.On
Color schemeColor scheme of the section.Scheme 1
Top paddingSpace above the section.40 px (0 to 120, step 4)
Bottom paddingSpace below the section.56 px (0 to 120, step 4)

A collection without an image shows a placeholder tile. With no collections, the page shows “No collections yet”.

Search page

The search page template contains one section, Search page. It shows a search field, the result count, the toolbar, the results and the pagination. Before a search is made, the page shows only the search field.

Results can be products, articles and pages. Products appear as product cards. Articles appear as article cards with date and first tag. Pages appear as small tiles with a Page label, the title and the first 140 characters of the content. The search field matches the last word of the query as a prefix, so a shopper who has typed only the start of a word still finds matches.

When nothing is found, the page shows the searched words, two tips (check the spelling, try a shorter or more general word) and a Browse all products button.

Search page settings

SettingWhat it doesDefault
Results per pageNumber of results on each page.24 (12 to 48, step 4)
Enable filteringShows the Search and Discovery filters for the results. Filters appear only after a search has been made.On
Filter layoutDrawer, Sidebar or Horizontal. Same behaviour as on the collection page.Drawer
Enable sortingShows the Sort by menu when there are results.On
PaginationPage numbers or Load more button.Page numbers
Color schemeColor scheme of the section.Scheme 1
Top paddingSpace above the section.40 px (0 to 120, step 4)
Bottom paddingSpace below the section.0 px (0 to 120, step 4)

Theme settings > Search > Show vendor in results also applies to product cards on this page (see below).

Predictive search is the search panel that opens from the header. It is not a section you add to a page. It shows suggestions while the shopper types.

How it works:

  • The shopper opens the panel from the search icon, or by typing into the search field in the header (shown on desktop when Show search field on desktop is on).
  • After the shopper stops typing for a moment, the panel lists up to 6 products, 6 query suggestions, 6 collections, 6 pages and 6 articles that match. Groups without matches are left out.
  • Each product row shows the thumbnail, title, price and, for products that have the printing option, a Personalise mark.
  • A last button, Search for “terms”, opens the full search results page.
  • When nothing matches, the panel says so. Pressing Enter still opens the search page.
  • Arrow keys move through the results and Enter opens the selected one. The first Escape clears the text and the next one closes the panel.
  • When the panel is empty (nothing typed), it can show chips from a menu you choose.

Settings

SettingWhereWhat it doesDefault
Enable predictive searchTheme settings > SearchTurns the live suggestions on or off. When off, the panel is a plain search field that opens the search page.On
Show vendor in resultsTheme settings > SearchShows the vendor name on product rows in the panel and on product cards in search results.Off
Show search field on desktopHeader sectionShows the search field in the header on large screens.On
Search suggestionsHeader sectionA menu whose links are shown as chips in the empty search panel.Empty

See Header and footer for the other header settings. All theme settings are listed in Theme settings.

Product cards

Every product grid in the theme uses the same card: collection page, search results, featured collections and the other product lists. The look is controlled by Theme settings > Product cards.

What a card shows

  • The product image, with the first two badges that apply (see Badges).
  • The title and the price. When the price varies between variants, the price is prefixed with “From”. A compare-at price is shown struck through when the product is on sale, and a unit price is shown when the variant has one.
  • A details line: the product's card details metafield, else the product type. See Theme settings > Personalization > Card details metafield.
  • A Personalise mark, for products that have the printing option.
  • Kit chips: small color swatches that link to the other kits of the same shirt. Hovering a swatch previews that kit's image. Needs the kit products metafield (Theme settings > Personalization > Kit products metafield). Nothing is shown with fewer than two kits.
  • The vendor name, only on search results and only when Show vendor in results is on.
  • A sold out product is marked with a Sold out badge and has no quick add button.

Quick add and quick view

When Show quick add is on, available products get a round or square plus button on the image.

  • A product with a single variant, no selling plan and which is not a gift card is added to the cart directly. The cart feedback follows Theme settings > Cart > After adding to cart. If the add fails, the error appears under the card.
  • Every other product opens quick view, a dialog with the gallery, the options, the name and number fields and the add to cart button. A link to the full product page is inside the dialog.
  • Quick view uses the printing value names from Theme settings > Personalization. It does not use the Team filter and the text settings of the product page's Name and number block. See Name and number printing.

Hover effects

The Hover effect setting applies only on devices with a pointer that can hover.

OptionWhat happens
Flip to the backThe card flips to a back face. The back face is the product's second image, else, for products with the printing option, a shirt back with a name and number.
Show the second imageThe second image replaces the first. Nothing is shown when the product has only one image.
Zoom the imageThe image zooms slightly.
NoneNo hover effect.

The shirt back shows the product's card print metafield (value written as NAME|9: name, a vertical bar, number), else the Back print name and Back print number from Theme settings > Product cards. If both are empty, no back face is shown. When the product has the kit color and kit trim color metafields, the back uses those colors.

Theme settings > Product cards

SettingWhat it doesDefault
Card styleKit puts the title and price on one row, with kit chips and a square quick add button. Photo stacks the title and price under the image, with a round quick add button.Kit in Floodlit, Photo in Daylight
Hover effectFlip to the back, Show the second image, Zoom the image or None. Only on devices that can hover.Flip to the back in Floodlit, Zoom the image in Daylight
Image ratioShape of the card image: Portrait (4:5), Portrait (3:4) or Square (1:1).Portrait (4:5)
Show quick addShows the plus button on the card image.On
Show kit chipsShows the swatch links to the other kits of the same shirt. Needs the kit products metafield.On
Show the personalise markShows the Personalise mark on products that have a printing option.On
Show product details lineShows one short line under the price. Reads the card details metafield, else the product type.On
Back print nameName printed on the back of every card on hover. Leave blank to read the card print metafield or to show no back print.Empty
Back print numberNumber printed on the back of every card on hover. Leave blank to read the card print metafield.Empty

The metafield names that cards read (Card print metafield, Kit products metafield, Card details metafield, Kit color metafield, Kit trim color metafield) are set in Theme settings > Personalization. See Shopify features.

Badges

Badges are set in Theme settings > Badges. A card shows at most two badges, in this order of priority: sold out, pre-order, sale, custom badge, new.

SettingWhat it doesDefault
Show sale badgeShows a badge when the compare-at price is higher than the price.On
Sale badge styleText shows “Sale”. Percentage shows the discount, for example “Sale −20%”.Percentage
Show sold out badgeShows a badge on products that are not available.On
Show pre-order badgeShown for products that require a selling plan or continue selling with no stock.On
Show new badge for products published in the last daysNumber of days a product counts as new. Set to 0 to turn the new badge off.0 d (0 to 60, step 1)
Custom badge metafieldProduct metafield as namespace.key, holding text or a list of text values, for example New season or Authentic.custom.badge

The look of badges (Solid or Outline) is set by Theme settings > Theme style > Badge style.