Docs
Page templates

Product comparison page

The Product comparison page in Seventh builds a comparison table from the products a customer selects in the collection grid.

Applies to: Seventh 4.0.0 and later. Added in: Seventh 4.0.0. Last checked: 2026-10-12 against Seventh 4.0.0.

The Product comparison page shows the products a customer selected in the collection grid side by side, in a comparison table. You set up the rows once, and every comparison uses them.

Where to find it: in the theme editor, open the template picker and select Products → compare. The template holds one section, Product comparison.

This page was added in Seventh 4.0.0. The release notes call it "Product comparison (dynamic)" and "Compare from the collection grid". For a comparison table with products you pick yourself, use the Product comparison section.

How customers compare products

  1. On a collection page, each product card shows a compare checkbox. The checkboxes appear only when Enable comparing is on in the Collection grid section.
  2. When a customer checks a product, a compare bar appears at the bottom of the screen with the selected products, for example "2 of 4 selected".
  3. A customer can select up to 4 products. After that, the other checkboxes are disabled and the bar says "You can compare up to 4 products". Seventh does not support more than 4 products in one comparison. To compare another product, the customer first removes one from the compare bar or the table.
  4. With 2 or more products selected, the Compare button in the bar opens the Product comparison page.
  5. On the Product comparison page, the customer can remove a product with the close button on its column. With one product left, the table asks the customer to select another item. With none left, the page says "No products selected".

The selection is stored in the customer's browser, so it survives page changes and new visits in the same browser. The page address carries the compared products (?view=compare&compare=<product handles>), so a customer can share a comparison link.

Turning on product comparison

Turn on Enable comparing

In the theme editor, open the template picker and select Collections → Default collection. Select the Collection grid section and turn on Enable comparing under Filtering and sorting. Repeat for every collection template that should show compare checkboxes.

Open the compare template

Open the template picker and select Products → compare. Select any product to preview the table.

Choose the rows

Select the Comparison table block inside the Product comparison section. The template starts with the Vendor, Price, Rating and Product link rows. Select Add block to add rows such as Product metafield, Attribute meter, Product description or Product variants, and drag them into order.

Save and test

Select Save. On the storefront, check 2 products in a collection grid and select Compare in the compare bar.

Table rows and style

The rows of the table and the table style are blocks inside the Comparison table block. Their settings are listed on the Product comparison section page: Comparison table, Product description, Product price, Product vendor, Product rating, Product metafield, Product link, Attribute meter and Product variants.

Why is there no compare checkbox on my product cards?

Because Enable comparing is off in the Collection grid section of that collection template. Compare checkboxes appear only in the collection grid. Seventh does not support comparing from the search results, featured collection sections or product pages. Use the Product comparison section with a fixed list of products on those pages instead.

Why does the Compare button do nothing?

Because fewer than 2 products are selected. The Compare button opens the Product comparison page only when the compare bar holds at least 2 products.

Why is the Products → compare template missing?

Because the template file is not in your theme, for example because it was deleted. Every Seventh 4.0.0 install includes the Products → compare template, whichever preset you installed: Seventh, Nora, Oak or Orim.

Seventh does not support adding the Product comparison page section with Add section, so a new template cannot replace the deleted one. Contact Krown support for help restoring the template, or use the Product comparison section, where you choose the products yourself.

All Product comparison settings

Every setting in this group, with its type and default.

On this page