For the complete documentation index, see llms.txt. This page is also available as Markdown.

Comparison table

Compare up to four products or options side by side in a table of features, with check and cross icons for yes/no values.

The Comparison table section shows products or options in columns and their features in rows, so shoppers can compare them at a glance. Use it to compare product versions, sizes, plans or your product against alternatives.

On mobile, the table scrolls sideways while the feature names stay pinned on the left.

1. How to add the section

In the theme editor, click Add section and choose Comparison table (in the Products category). The section is added with three columns and four example feature rows.

2. Section settings

  • Layout: Standard (heading above the table) or Split (header beside table). The split layout applies on larger screens.

Table style

  • Row style: Lines, Striped or None.

  • Align values: Left or Center.

  • Highlight row on hover: highlights the row under the shopper's cursor.

Values

  • Show yes / no values as icons: cells that read yes, no, true, false, 1 or 0 show a check or a cross instead of the text. Blank cells show a dash.

Column header

  • Image ratio: the shape of the column images. Options: Adapt to image, Portrait or Square.

  • Show price: shows the price in Product columns.

  • Show button: shows a button under each column header.

  • Product button label: the button text for Product columns, for example "View product".

  • Button style: Solid or Outline.

Colors

  • Column highlight: the background color of highlighted columns. The text color adjusts automatically. Leave blank to use a light background.

  • Row highlight: the color used when Highlight row on hover is on.

Note: Padding, section width, section header and color settings work the same in every section. See Common settings.

3. Block settings

The section uses two blocks: Column (up to 4) and Feature row (up to 12).

  • Column block:

    • Column type: Product, Image + text or Text only.

    • Product: for Product columns. The column shows the product's image, title, price and a button linking to the product.

    • Image: for Image + text columns.

    • Heading, Subheading and Button label: for Image + text and Text only columns.

    • Button link: where the heading and button of an Image + text or Text only column link to. The button only shows when a link is set.

    • Highlight this column: makes this column stand out with the Column highlight background and a colored top border.

    • Highlight color: the color of the highlighted column's top border and check icons. Leave blank to use the theme's default.

  • Feature row block:

    • Feature name: the label shown in the first column, for example "Free shipping".

    • Column 1 value to Column 4 value: the value for each column. Column 1 is the leftmost column, matching the order of your Column blocks.

Note: To show a check or a cross, type yes or no (or true/false, 1/0) in the column value and keep Show yes / no values as icons on.