Cardinal docs/Templates
Collection page
The product grid, filtering, sorting and pagination.
The collection page is where most of your browsing happens. Cardinal's version filters and sorts without reloading the page: results update in place, the URL updates with them, and the back button still works.
Section settings
Manage filters in the Shopify Search & Discovery app.
1 · 2
Portrait (4:5) · Square (1:1) · Natural
Filtering
Filters come from Shopify's free Search & Discovery app, not from the theme. Install it, open Filters, and choose which product attributes to expose. Cardinal renders whatever you configured — and the same filters, in the same drawer, appear on the search results page:
Filters open in a drawer that slides in from the side, and results update as each one is ticked. View results shows the current number of matches and closes the drawer. Applied filters appear as chips above the grid, each removable individually, with a Clear all that keeps the sort order.
Sorting
Enable sorting adds a sort control offering Shopify's standard orders — featured, best selling, alphabetical, price, date. Featured uses the manual order you set on the collection in the admin, which is worth curating for your most important collections.
The grid
Columns, image ratio and gap are yours to set. Four columns on desktop and two on mobile is the default and suits most catalogs. Three columns makes each product feel more considered — good for higher price points and fewer SKUs.
Products per page balances scrolling against loading. Sixteen to twenty-four keeps the page fast; beyond that, pagination is doing less work than it should.
- Each card shows the price, the compare-at price when it is on sale, and the unit price when the variant has one.
- Show color swatches adds up to five swatches under the title, with a +3-style count for the rest. They need an option whose name contains Color or Colour, with swatch data set up in Shopify — see Variants and swatches.
- Show add to cart adds a quick-add button. Products with several variants get a button that takes the customer to the product page to choose instead.
Without JavaScript
The filter form is a real form and the sort control is made of real submit buttons, so the page works even if scripts fail to load. It just reloads instead of updating in place.
Empty states
A collection with no products says so rather than leaving a blank area. A filter combination with no matches says the same and offers Clear all, so the customer is one click from the full collection.
Still stuck? Contact support and we will help.