Docs

Product comparison section

The Product comparison section in Seventh shows a table that compares the products you choose, row by row: price, rating, metafields and more.

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 section shows a table that compares up to 4 products you choose, side by side. Each row is one attribute: price, vendor, rating, description, variants, a metafield or an attribute meter. You can add it to any page, including product pages.

Where to find it: select Add section in the theme editor, then choose Product comparison (category Products).

Since Seventh 4.0.0. The release notes call this section "Product comparison (static)". The comparison that customers build themselves from the collection grid is a separate template, documented in Product comparison page. Both use the same Comparison table and row blocks, documented on this page.

What it shows

  • A section header, with a Caption and a Heading block in the preset. See General section styling.
  • One Comparison table block. Its first row shows each product's image and title. Every block you add inside the table becomes one more row.

With no products selected, the section shows 4 placeholder columns so you can design the table first. On the storefront, a table wider than the screen scrolls sideways.

Comparison table

The Comparison table block sets the style of the whole table. Add rows with Add block inside it:

  • Product description: the product description, shortened or in full.
  • Product price: the price of the selected or first available variant.
  • Product vendor: the product vendor.
  • Product rating: star rating from a reviews app.
  • Product metafield: the value of any product metafield.
  • Product link: a button that opens the product page.
  • Attribute meter: a segmented bar, for example for fit, strength or water resistance.
  • Product variants: each option name with all its values, for example "Size: S, M, L".

The preset adds the Vendor, Description, Price and Product link rows. The row blocks only have a Heading: the row label shown in the first column when Show table headings is on.

Product rating row

  • It reads the standard reviews.rating and reviews.rating_count product metafields that review apps write.
  • A product without a rating shows the Empty fields label.

Attribute meter row

  • It has the meter settings of the Attribute meter block, without its typography settings.
  • The Active segment metafield is read from each compared product, so every column can show its own value.

Comparing products by a metafield

The Product metafield row shows one metafield value per product, for example material, case size or weight. The metafield must exist in Shopify admin first.

Create the metafield

Open Shopify admin → Settings → Metafields and metaobjects → Products and add a metafield definition, for example custom.material.

Fill in the values

Open each product you compare in Shopify admin and enter its value in the new metafield.

Add the row

In the theme editor, select the Comparison table inside the Product comparison section, select Add block and choose Product metafield.

Enter the reference

Set Heading to the row label, for example "Material", and type the metafield as namespace.key in Metafield, for example custom.material. Products without a value show the Empty fields label.

The row formats the value by metafield type: numbers with units, true or false as Yes or No, dates, colors, links, references and lists. See Shopify's metafields documentation for creating definitions.

Why does the comparison table show placeholder products?

Because Products is empty. Select up to 4 products in Products. The placeholders only show when no product is selected.

Why does the current product not appear first?

Because Show current product first works only when the section is on a product page. There, the current product becomes the first column. If it is not in Products, Seventh adds it as an extra column.

Can I compare more than 4 products?

No. Seventh does not support more than 4 products in Products. Add a second Product comparison section for another group of products.

All Product comparison settings

Every setting on this page, one list per section or block, with its type and default.

On this page