Product compare
Trade buyers rarely choose from photos; they choose from specifications. Buyers tick Compare on list rows, on product cards or on the product page. A tray at the bottom of the screen collects up to four products, and a compare page shows them side by side, with the rows that differ marked.
Set it up
- Create the compare page. In Shopify admin go to Online Store › Pages › Add page. Title it “Compare”, leave the content empty, and under Theme template choose compare. Save.
- Turn compare on. In the theme editor, open Theme settings › Product compare, make sure Enable product compare is on, and choose your new page in Compare page.
- Add the checkboxes. List rows on collection pages always have a Compare tick when compare is on. Cards in Faber’s product grids already contain a Compare block. On the product page, add the Compare block under Product information if it isn’t there.
- Optional: add specification rows (below) and choose a Collection for the browse button on the compare page.
Without a Compare page, the tray has no Compare button, so shoppers can tick products but can’t open the comparison.
Theme settings › Product compare
| Setting | Default | What it does |
|---|---|---|
| Enable product compare | On | Shows the compare checkboxes, the tray and the compare page. Turning it off hides them everywhere. |
| Compare page | — | The page that uses the compare template. The tray’s Compare button opens it. |
| Row 1 label … Row 4 label | Material, then empty | The name shown in the first column of each extra row. |
| Row 1 metafield … Row 4 metafield | custom.material, then empty | The product metafield for that row, as namespace.key. Single-line text, number, true/false and list metafields are supported. |
Rows with a label but no metafield are skipped. A product without a value for a row shows ”—”.
What shoppers see
The checkbox
- In the list view on collection pages: a Compare tick on each row.
- On product cards: a small Compare checkbox under the card details.
- On product pages: an Add to compare checkbox (the Compare block).
A fifth tick shows the message “You can compare up to four products. Remove one to add another.”
The tray

A dark bar fixed to the bottom of the screen while at least one product is ticked:
- a thumbnail of each selected product (empty slots are dashed),
- “3 of 4” (on very narrow phones this is read out to screen readers only, since the thumbnails show the count),
- Clear to remove all,
- Compare, which opens the compare page.
The tray moves up out of the way when the mobile bottom bar is showing, and it is not shown on the compare page itself.
The compare page

- Each product gets a column with its image, title, Add to bag (or Choose options for products with several variants) and Remove.
- Rows: Price, Unit price (when set), Rating (from the reviews metafield), Brand, Type, one row per product option (Color, Size…), your specification rows and Availability.
- Rows where the products differ are marked: a small highlighter square before the row name, and the values in bold. Rows where every product agrees stay plain.
- Only show differences hides rows where every product has the same value.
- Copy link copies a link to this exact comparison (the page address with
?compare=and the products). Whoever opens it sees the same products side by side, which makes it easy to send a shortlist to a client or a colleague. Opening a shared link replaces that visitor’s own selection. - While products load, a gray skeleton of the table shows, so the page never flashes an empty state.
- With nothing selected, the page shows “Nothing to compare yet” and a Browse products button.
- The table scrolls sideways on phones, with the row names fixed on the left.
Compare page section settings
| Setting | Default | What it does |
|---|---|---|
| Heading | Compare | Leave empty to use the page title. |
| Collection for the browse button | — | Where Browse products goes when nothing is selected. Defaults to all products. |
| Color scheme, Top padding, Bottom padding | Section look and spacing. |
How the selection is stored
The selection is kept in the buyer’s browser, on this device only, and is shared between tabs. It needs no account and no app, and nothing is sent to your store until the buyer adds a product to the bag. To share a comparison with someone else, use Copy link on the compare page.
Tips
- Use specification rows for the facts buyers really compare: material, seat height, fire rating, stacking. Use the same metafields as the Specifications block and the list columns, so the facts match everywhere. Create the metafields first (see Metafields the theme reads).
- Keep products in the same category comparable by filling the same metafields on each.
- To hide compare on some cards only, remove the Compare block from that section’s Product card.