Sections

AG1 Compare table section

A compare table section from drinkag1.com, previewed live.

Compare tableSupplementsTable

Built with
Shopify
See 2 more sections from AG1
Visit site

AG1

How to build it on Shopify. Not the brand’s code: one prompt for your AI.

A heading and intro text above a full-width comparison table: a header row of product logos (or names) over two columns, then repeatable feature rows whose cells show text, a check icon or a cross icon, with optional emphasised rows such as price.

Compare1 block type15 settings

Read from the recording; layouts at other screen sizes are inferred. Structure only: colours, fonts and copy come from your theme.

Prerequisites

  1. An AI coding tool that can edit files
  2. The Shopify CLI, with your theme pulled
  3. Optional: Shopify AI Toolkit or Dev MCP

Anatomy

The section’s structure on desktop and mobile, by part.

SectionHeaderHeadingIntro textComparison tableColumn header rowColumn 1 logoColumn 2 logoFeature rowFeature labelColumn 1 valueColumn 2 value+ 11 more×13
  • SectionGroup

    Single column. The header sits above the table, and the table spans the content width.

    • HeaderGroup
      • HeadingTextSetting · heading

        Large heading, 3–5 words

      • Intro textRich textSetting · text

        One sentence

    • Comparison tableGroup

      3 columns: a wide feature-label column (~1/3) and 2 equal centred product columns. Rows are separated by horizontal rules.

      • Column header rowGroup

        The first cell is empty. Each product column shows a logo image, with a text name as fallback.

        • Column 1 logoImageSetting · column_1_logo

          Falls back to section.column_1_title

        • Column 2 logoImageSetting · column_2_logo

          Falls back to section.column_2_title

      • Feature rowGroupRepeats as row blocks

        13 in the reference. A row can be bold/emphasised (the price row).

        • Feature labelTextrow block · label

          Left-aligned, 1–6 words. Supports a superscript note marker.

        • Column 1 valueIconrow block · value_1_type

          Check icon, cross icon, or text (block.row.value_1_text)

        • Column 2 valueIconrow block · value_2_type

          Check icon, cross icon, or text (block.row.value_2_text)

Layout by breakpoint

Mobileup to 749px

Same table. The label column narrows and the product columns shrink; the header row can optionally stick while scrolling.

Desktop990px and up

Header above a full-width table. The label column is ~1/3 and the two product columns share the rest, with centred values.

Theme editor settings

What a merchant can change on the section.

Content
Headinginline_richtext
Intro textrichtext
Column 1 logoimage_picker
Column 1 titletext
Column 2 logoimage_picker
Column 2 titletext
Included icon labeltext
Not included icon labeltext
Layout
Heading alignmenttext_alignment
Feature column widthrange20–50 %
Show row dividerscheckbox
Sticky column headerscheckbox
Style
Color schemecolor_scheme
Top paddingrange0–100 px
Bottom paddingrange0–100 px

Feature row blockup to 30 blocks in all

Featureinline_richtext
Column 1 valueselectCheck / Cross / Text
Column 1 texttext
Column 2 valueselectCheck / Cross / Text
Column 2 texttext
Emphasise rowcheckbox

Starting layouts: Comparison table

Open decisions

Judgment calls made reading the section. Your AI will see these too.

  • Fixed at two product columns, as in the reference; a third column would need additional section and block settings.
  • Column headers use logo images with a text fallback rather than product pickers, because the reference shows logos and no product links. Price cells are manual text, not read from a product.
  • Only scrolling motion was recorded; no interactions are inferred. The sticky header is an optional added setting.
  • The mobile layout was not observed. It is assumed the table stays three-column with a narrower label column.
  • Superscript note markers on labels are handled with inline_richtext.

Build it in your theme

Paste the prompt into your AI tool. It works out your theme’s block setup, then builds the section.

Store Supplies describes how this site is built, using what’s publicly visible, for reference and learning. All trademarks, imagery and designs belong to AG1, which isn’t affiliated with us. Own this site?

Similar sections

More compare table sections

View all
Seed compare table section, supplements Shopify store example, desktop
SeedCompare table, Supplements
View
Drink Collider compare table section, non-alcoholic Shopify store example, desktop
Drink ColliderCompare table, Non-Alcoholic, Colourful
View

More from AG1

Other sections from this website

View all
AG1 educational / ingredients section, supplements Shopify store example, desktop
AG1Educational, Ingredients, Supplements
View
AG1 hero section, supplements Shopify store example, desktop
AG1Hero, Supplements
View

The best of Shopify, curated weekly.

WebsitesSectionsFeatures
LoginSign up