Formula comparison
A comparison across up to four products, measured on rows you define — strength, texture, frequency, pairing, or anything else. On a product template it leads with the product being viewed and lets the customer choose what to compare it against.
- Merchant-addable
- Yes, in supported locations
- Settings
- 50
- Block types
- 2
- Max blocks
- 10
- File
sections/formula-comparison.liquid
Excluded from: header, footer section groups.
Included in supplied templates: Product, product.catalog, Product (set)
When to use it
When customers ask "which one is right for me" and the answer depends on more than price. Works as a fixed comparison on a collection or landing page, and as a per-product comparison on a product template.
Setting it up
- Add the section and write the heading and intro under Content.
- Define your measures under Comparison rows. These become the rows and apply to every column, so pick measures every product can actually answer. Note: With Exclude products without shared values enabled, an alternative needs at least one populated row in common with the viewed product. Individual missing values can still show dashes. Hide products missing any row value is the optional stricter rule: it excludes a product if even one configured, visible row is missing, and an incomplete viewed product hides the whole section.
- Fill each product's category attributes or optional custom metafields before connecting the rows. Follow Fill the six comparison rows for the source, identifier, display style, and example value used by each row. A source does not fill missing product data automatically.
- For timing tags, use a custom text field such as
custom.comparison_schedule, saveAM,PM, orAM, PMon each product, and choose Time of day. For strength bars, use Strength meter with a value such as3/5 Demo rating. See the illustrated walkthrough below. - Decide where the columns come from with Column products under Comparison columns. Leave it on formula blocks for a fixed comparison; switch it to the product being viewed on a product template.
- For a fixed comparison, add one Formula block per product, up to four — each picks a product and answers each row.
- For a per-product comparison, set Collection customers compare within and size it with Columns to compare. Every row then needs a value source, because a product the customer swaps in has no block to type into.
- The collection is chosen before Product type is filtered. Leaving the collection blank uses each product’s smallest collection with at least two products, so comparisons can differ between pages. The same-type filter searches only that collection; if no other product matches, the section is hidden. Select a shared collection explicitly for consistent comparisons across product templates.
- Use Exclude products without shared values to offer alternatives with at least one populated row in common with the viewed product, and Hide rows without values to remove universally empty rows. Purely keeps both on and Hide products missing any row value off on its default and Catalog product templates. Turn on that optional stricter control only when every configured, visible row must be filled; it also applies to set components and manual formula columns. All three controls default to off for new sections.
- Optionally set Badge metafield to a single-line text product metafield such as
custom.comparison_badge. Enter its namespace and key as plain text. Each product supplies its own badge, including after a customer swaps columns; empty values show no badge. Manual formula blocks keep their Highlight label. - Color scheme under Style defaults to Scheme 7 for newly added sections. Existing saved scheme selections remain in effect.
- Under Style, Content width defaults to Standard, which caps the comparison at 1200px, matching Proof ledger. Wide uses the theme page width. Both retain the full-width background and mobile swipeable cards.
- Pick an Image ratio and check it on a phone — the comparison becomes a swipeable deck, one product per slide.
Where the content comes from
Shopify product data owns product titles, images, and prices. Category attributes and optional custom product metafields own reusable row values and per-product badges. Comparison row blocks own headings, order, sources, and display styles. In fixed comparisons, Formula blocks can own manually typed answers and fallbacks. Each card reads the product in that column.
Notes and cautions
- Four columns is the maximum and three is usually better. A comparison a customer cannot hold in their head does not help them decide.
- On a product template, two columns beside the product being viewed is the practical desktop maximum — the row labels plus four product columns need about 1140px and scroll sideways below that.
- Rows still on Manual value are hidden once the columns come from the product, rather than showing an empty cell in every column. The editor names them.
- It is not an HTML table. Each column is its own card so it can carry its own shadow, and every value carries a hidden row label, so screen readers still hear "Best for: dry, sensitive" without a table to navigate.
Set up product comparisons and row values
On product pages, the main section heading uses the shared Small/Medium/Large scale: 28–40 / 32–56 / 36–72px on desktop and 20 / 24 / 28px below 750px. The shipped product templates retain the saved demo heading choices. Other page types retain their existing scale; product titles, item headings, and supporting labels keep their separate sizes.
Choose where the product columns come from, fill the information on each product, then connect each comparison row to that information. A shared product template reads each card’s own values; you do not need a separate template for every formula.
Purely already has the comparison metafields and row connections below. To change its content, start with Fill the values on every comparison product. Create definitions only when setting up another store or adding a new kind of row.
The section reads its columns from one of three places, set by Column products under Comparison columns.
| Mode | What fills the columns | Where to use it |
|---|---|---|
| Product picked in each formula block (default) | The products you picked, the same on every page | Home page, a collection page, a dedicated comparison page |
| Product being viewed, plus the customer’s choice | The product on the page, then products the customer picks | Product templates |
| Products in this set (Set contents metafield) | The products listed in the set’s custom.set_contents metafield | The set product template |
The second mode does two things at once: it puts the product being viewed in the first column automatically, and it lets the customer choose what to compare it against from a dropdown on each of the other columns.
It needs a product on the page. On a home page there is nothing being viewed, so the section falls back to your formula blocks and the theme editor tells you so.
The full walkthrough
Step 1 — switch the source
On your product template, open the section and set Column products to Product being viewed, plus the customer’s choice.
The formula blocks stop being used at this point. They are not deleted — switching back restores them — but hiding or reordering them changes nothing while this mode is on, and the editor says as much.
Step 2 — choose what customers compare within
Collection customers compare within sets the pool the dropdowns offer.
Pick a shared collection containing the products customers should compare. Products are offered in that collection’s sort order, excluding the product being viewed.
When this setting is blank, the section chooses the smallest collection the current product belongs to that contains at least two products. It makes this choice separately on each product page, so two products with the same product type can use different comparison collections.
The collection is chosen first. Product type is filtered second. Compare only products of the same type checks Shopify’s Product type field within that collection only. It does not search the whole store, combine collections, or try another collection if no matching product remains. The filter is ignored when the current product has no product type. If no other matching product remains, the section is hidden from customers.
For example, Night Serum and Retinal Serum can both have product type Serum and belong to Daily Ritual. If Retinal Serum also belongs to a smaller collection that contains no other serums, its comparison is hidden even though Night Serum’s comparison includes it.
For consistent comparisons across product pages, select the same shared collection explicitly on their product templates, include all the intended products, and keep their Product type values identical. If products use different templates, check the section settings on each template.
Step 3 — fill the product information
Every product offered in a comparison needs values for the rows you want to show. This includes the current product, the initially displayed alternatives, and products available in the dropdown. For a set comparison, fill the included products, rather than only the set product.
Choose the source for each row
This is the six-row setup used by Purely’s default product template. The custom identifiers are examples you can reuse on another store; they are optional, merchant-created fields.
| Row heading | Value source in the theme editor | Product field or identifier | Value style | Example saved value |
|---|---|---|---|---|
| Benefit | Custom product metafield | custom.comparison_benefit | Text | Cleanser removal, Gentle polishing |
| Best for | Custom product metafield | custom.comparison_best_for | Tags | Dry lips, Overnight lip care |
| Format | Custom product metafield | custom.comparison_format | Text | Cotton cloths |
| When to use | Custom product metafield | custom.comparison_schedule | Time of day | AM, PM |
| Size | Custom product metafield | custom.size_storage | Text | 30 ml. |
| Strength | Custom product metafield | custom.comparison_strength | Strength meter | 3/5 Demo rating |
Purely uses short custom benefits and formats across skincare, tools and supplements. Its longer
custom.benefits copy remains available for other product sections. A skincare-only comparison
can instead use category sources such as Skin care effect and Product form.
For a category source, select the named source from the dropdown. You do not enter its namespace and key in the custom field setting.
Best for can instead read Skin type when that category attribute is relevant and filled on every comparison product. Purely uses a custom field for concise use cases such as “Under concealer,” which are different from skin types. Choose the source that matches your information.
Create missing custom definitions once
Skip this step for definitions that already exist.
- Open Settings > Metafields and metaobjects > Products > Add definition. You can also choose Add definition under a product’s Product metafields.
- Enter a recognizable name and check the generated namespace and key against the table above.
- For Comparison benefit, Comparison best for, Comparison format, Comparison schedule, Comparison strength, and optional Comparison badge, choose Single line text with One value. A text field keeps commas and strength labels together.
- Add a description explaining the expected format, then Save the definition.
- Repeat for the other fields you need. A size field can use Single line text for quantity
alone or Multi-line text when it also contains storage information. Purely already uses
its existing Size & storage field,
custom.size_storage.

The definition creates the field. It does not fill any product or connect a theme row.
Fill the values on every comparison product
- Open Products and select a product that will appear in the comparison.
- Assign its correct Category. Under Category metafields, fill the applicable sources used by your rows, such as Skin care effect and Product form. A category assignment makes attributes available; it does not automatically fill them.
- Under Product metafields, fill Comparison benefit, Comparison best for, Comparison format, Comparison schedule, Comparison strength, and Size & storage as applicable. Use View all if a field is not shown in the product summary.
- Save the product, then repeat for every product in the comparison pool.
For several products, select them in Products, choose Bulk edit, and use Columns to show the required metafields. Double-click a text cell to edit it, enter its value, and save the bulk changes. Fill product fields on the product row, rather than the variant rows underneath.

These two products share the same fields, but keep their own answers. Both use AM, PM.
Use verified quantities and product directions. Purely’s strength numbers are illustrative demo
ratings and are labeled Demo rating. A real store should define a supported, consistent scale
before assigning ratings. Sunscreens in this demo retain SPF 30 or SPF 50 as text; those values
are not converted into an intensity score.
Step 4 — connect the rows and choose their display
Repeat these steps for each Comparison row block:
- Open the product template in the theme editor, then expand Formula comparison.
- Select a Comparison row and enter its Heading.
- Set Value source to the category source or Custom product metafield from the table.
- For a custom source, type the exact identifier into Metafield namespace and key, such as
custom.comparison_schedule. Enter plain text here; do not connect it to the current product’s dynamic source. The section needs the identifier so it can read each comparison product. - Select Value style separately. The source supplies the value; the style decides how it looks.
- Save the template after connecting all the rows you need.

Both settings matter: a custom source makes the row available in product mode, and Time of day turns its values into timing tags.
Creating a definition does not add its name as another Value source option. Choose Custom product metafield and enter its namespace and key. Supported custom types are single-line text, multi-line text, integer, decimal, boolean, and lists of single-line text, integers, or decimals. Rich text, files, references, JSON, and other types are not read by this custom source.
Show separate AM and PM tags
Use Time of day with these saved values:
| Saved product value | Display |
|---|---|
AM | One tag with a sun icon |
PM | One tag with a moon icon |
AM, PM | Separate sun and moon tags |
As needed or 2–3 times weekly | A timing tag with that text |
Separate timing entries with commas. AM · PM and AM or PM remain one entry. If another
section uses a longer When to use field for frequency and directions, keep that information
and create a compact comparison field such as custom.comparison_schedule for the tags.

Show a segmented strength bar
Choose Strength meter, then start the saved value with a number or ratio. For example,
3/5 Gentle fills three of five segments and shows Gentle beside the bar. 3/5 Demo rating
uses the same bar with an explicit demo label. A bare number such as 3 uses five total segments.
Text without a leading number, such as Gentle or SPF 50, displays as text. Selecting Strength
meter does not calculate a rating from ingredients, percentages, SPF, or a descriptive word.

Check every available product
Preview at least two products with different values. If a dropdown is available, swap another product into a column and check all its rows. A dropdown appears only when there are choices to offer. Also check the cards at a phone width.
In product and set modes, a row left on Manual value from each formula block is hidden. A row with a source but a missing product value stays visible and shows a dash in that product’s cell. With the two missing-data controls off, missing data does not remove the product or hide the row. Fill applicable values on every offered product and use the controls below to prevent empty comparisons. Leave genuinely inapplicable data blank: tools and sleep masks do not need a skincare strength rating, and gift products do not need an AM/PM schedule.
Custom metafields are optional. For a fixed comparison using formula blocks, you can instead type each product’s values in its Formula block. Match Row 1 value to the first Comparison row, Row 2 value to the second, and so on. Set the row’s Value source to Manual value from each formula block and choose the same display styles described above.
Exclude empty comparisons
Under Comparison columns, turn on Exclude products without shared values in product mode. An alternative qualifies only when it and the viewed product both have a value in at least one same configured row. Price, title, image and badge do not qualify a product. A product with only Format filled will not compare with a product whose only value is Benefit.
The filter applies before Products customers can choose from, and the live columns and swap menu use the same eligible products. If the viewed product has no row values, or no alternative shares a populated row, the whole section is hidden from customers. The theme editor keeps a setup note explaining the empty state. Turning this control off restores the pool allowed by the other filters.
Hide products missing any row value
Under Comparison columns, turn on Hide products missing any row value when you want every displayed product to answer every configured, visible row. This is stricter than the shared-value filter and works in all three column modes.
- Product being viewed, plus the customer’s choice: incomplete alternatives are excluded from both initial columns and every swap menu, before the choice limit is applied. If the viewed product is incomplete, or no complete alternative remains, the entire section hides from customers. The editor shows a setup note explaining the filter.
- Products in this set: incomplete components among the first six Set contents entries are omitted. The remaining complete components keep their saved order.
- Product picked in each formula block: a product must have a value for every row, using the same category/custom source and manual fallback shown in its cells. Incomplete columns, including unfilled editor placeholders, are hidden.
For example, with Benefit, Format and When to use configured, a product missing When to use is excluded even if its other two values are filled. Price, title, image and badges do not count toward completeness. Zero and false are filled values. At least one comparison row must be configured; a comparison with no eligible products is hidden.
The check uses named rows with usable sources, before Hide rows without values runs. Rows already hidden because their heading is blank, or because a product/set row has no usable source, do not count. Empty-row hiding cannot bypass the completeness requirement. The strict control works by itself; enabling the shared-value control too does not relax it.
Keep this setting off when partially filled comparisons are useful. Turning it off restores incomplete products allowed by the other filters. Choose rows that apply to all intended products, or use a separate template with suitable rows; do not invent values for inapplicable measures.
Hide empty rows
Turn on Hide rows without values to remove a row that is empty for every eligible product. It checks the entire swap pool, including products not initially displayed, so swapping does not change row alignment. In set mode it checks the eligible components among the first six Set contents entries. Empty-row hiding itself does not exclude products. This control does not remove individual cells: a row filled for one product can still show a dash for a product to which that measure does not apply when strict completeness is off.
All three controls default to off for new sections. On Purely’s default and Catalog product templates, Hide products missing any row value is off, while Exclude products without shared values and Hide rows without values are on. Products can compare when they share at least one populated row; they do not need every row filled. Individual gaps can show a dash, while universally empty rows are hidden. Set comparisons keep their existing empty-row hiding setup. Purely uses the All products collection with Compare only products of the same type enabled, so populated serums can compare with other serums even when their smaller concern collections contain no matching type. Gift products without another matching type remain hidden.

Shown on Purely’s live default product template after saving. The Catalog product template uses the same three filter choices. The strict control remains available if you later want every row filled on every product; turn it on separately for that behavior.
Step 5 — size the comparison
| Setting | What it does |
|---|---|
| Columns to compare | How many columns sit beside the product being viewed. 1–3. |
| Products customers can choose from | How long each dropdown list is. 2–8. |
| Current product label | The wording on the first column’s chip. Blank hides it. |
Two columns is the practical maximum on a desktop. The row-label column plus the product being viewed plus three more needs about 1140px, so three columns is permanently scrolled sideways at normal page widths.
Compare the products in a set
On the set template, the section compares the products a kit contains rather than the kit against other products. Set Column products to Products in this set (Set contents metafield).
Purely’s set template uses short benefits (custom.comparison_benefit), ingredient callouts
(custom.comparison_ingredients), finish (custom.finish), and timing
(custom.comparison_schedule). The ingredient field is Single line text, One value,
filled on all six included products across the two sets. It keeps the comparison consistent when
a component’s Shopify category does not retain an Active ingredient value. Enter actual ingredient
callouts from existing product information; this comparison row is not a complete ingredient list.
Other stores can keep Active ingredient as a category source when it is available for every
component, or choose their own supported custom field.
The columns come from the set product’s custom.set_contents metafield, a List of products
metafield. Evidence cards and Product routine read the same list, so you fill it once per set. The
first six products in the list are considered, in the order saved there. With Hide products
missing any row value on, only complete components among those entries show. The set itself is not a column,
there are no dropdowns, and the formula blocks and collection are not used.
As with the product-viewed mode, every row needs a category attribute or a custom product metafield, because the included products have no block to type a value into. A row without a source is hidden, and the theme editor lists which ones. When the set has no products in its Set contents metafield, the section falls back to the products picked in the formula blocks, and the editor explains why.
Add product badges
In Product being viewed, plus the customer’s choice or Products in this set mode, use Badge metafield under Comparison columns to show a short editorial label above individual product cards.
- Create a product metafield definition with type Single line text, such as
custom.comparison_badge. - Fill it on the products that should have a badge. Leave other products’ values empty.
- Enter
custom.comparison_badgeas plain text in Badge metafield, without connecting a dynamic source.
Each card reads its own product’s value, including the current product and products selected through the dropdown. The badge and highlighted styling follow the selected product. Empty, missing, or malformed references show no badge. Leaving the setting blank disables product badges. The default is blank, so existing comparisons keep their appearance.
Purely has six example labels, including Featured, Demo favorite, and Demo best seller. The demo prefix makes the sample status explicit. Use an unqualified sales or popularity badge only when your store has evidence for it. Clear an individual product value to remove its badge, or clear Badge metafield to hide badges throughout this section. Badges do not make a product eligible for a filtered comparison.

In manual formula-block mode, Highlight label still owns each card’s badge. On pages without an in-scope product, the section falls back to those manual blocks and their labels.
What the customer sees
The first column is the product they are already looking at, marked with the label from Current product label and given a quiet ring so it reads as theirs.
Every other column carries a dropdown naming the product in it. Opening it lists the pool, where:
- the column’s own product is ticked
- a product already shown in another column is greyed out with a dash, because two columns showing the same product is not a comparison
- choosing one swaps that column, and only that column
Nothing reloads. Every choice is rendered with the page and swapped in place, so the comparison changes instantly and no images are fetched until a choice is actually made.
What renders in each situation
| The situation | What a customer sees |
|---|---|
| The collection has plenty of products | The full comparison, with dropdowns |
| The collection has fewer products than Columns to compare | Fewer columns, and the editor says how many it found |
| The collection has nothing to compare against | Nothing — the section is hidden |
| No comparison collection is selected | Uses the smallest collection the viewed product belongs to with at least two products; hidden if no eligible alternative remains |
| The section sits where no product is being viewed | Your formula blocks, as normal |
| A set has no products in its Set contents metafield | Your formula blocks, as normal |
| A row has no value source | That row is hidden, in every column |
| Shared-value filter is on and no alternative shares a filled row | The entire section is hidden |
| Empty-row hiding is on and every eligible product lacks that row | That row is hidden in every column |
| Strict completeness is on and an alternative or fixed product lacks any row value | That product’s column and swap choice are excluded |
| Strict completeness is on and the viewed product lacks any row value | The entire automatic comparison is hidden |
| Strict completeness is on and no configured rows or eligible products remain | The section is hidden |
| Strict completeness is off and an eligible product lacks a value that another product has | A dash in that product’s cell |
In automatic product mode, a product with nothing comparable hides the section. Fixed and set comparisons can retain a single complete product. These empty states explain themselves in the theme editor — if the section looks short or empty while editing, read the note under it.
How the choices are ordered
The dropdown offers the first products in the collection’s own sort order, skipping the product being viewed and anything filtered out by product type, the shared-value control, or strict completeness. Filtering happens before the choice limit, so incomplete products do not use a slot.
That means the collection’s sort order in Shopify admin is the ranking. There is no relevance scoring. If you want a particular product to be the default comparison, sort that collection manually and put it first.
Two things it deliberately does not do: it does not exclude sold-out products, because a comparison is still informative for something out of stock, and it does not narrow by tag or price.
Choose the content width
Under Style, set Content width to Standard or Wide.
- Standard is the default. It caps the header and comparison at 1200px, matching Proof ledger, so cards keep their proportions on large screens. A narrower theme page width still takes priority.
- Wide uses the theme page width for additional space across more columns.
The section background stays full width in both modes. On phones, the comparison keeps its swipeable card layout. Existing sections without a saved width use Standard.
Keeping the cards aligned
Rows only read as a comparison when they line up across the columns, so the section holds the media and the titles to a fixed shape:
- Image ratio — Portrait, Square, or Landscape — applies at every screen size, so every column’s image uses the same compact thumbnail shape. Thumbnails are capped at about 200px tall, with images cropped to fill the frame. On a phone the comparison becomes a swipeable deck one card at a time.
- Two lines are always reserved for a product title, so a short name and a long one do not offset the rows beneath them. Titles are never truncated. On mobile, the headers and corresponding rows match the tallest live card, so long names and wrapped values keep subsequent row headings aligned. Heights update after resizing, font loading, and product swaps. Desktop uses shared grid rows.
Using it well
- Two columns beside the product, not three. A comparison a customer cannot see at once does not help them decide.
- Point every row at an attribute before switching modes. Otherwise the comparison arrives three rows shorter than you designed it.
- Keep the choice list short. Every option is prepared with the page, so eight choices is more page weight than four for a list most customers never open.
- Set Product type on your products. It is what keeps a wax out of a serum comparison.
- Test on two products — one with row attributes filled in, and one without. Missing values can show dashes when another product has data in that row. Enable the shared-value control to exclude products with no matching row data, or Hide products missing any row value to require every row. Test an incomplete viewed product with the strict control on too. Also test a product with no eligible alternatives: the section should hide from customers and show setup guidance only in the editor.
When a column shows dashes
Work down this list:
- Check the row’s Value source. A category source needs the correct category and a filled
attribute. A custom source needs the exact
namespace.keyand a supported metafield type. Custom product fields do not require a product category. - Check the affected product’s saved value. Filling a definition or another product does not fill this card. Check every product offered in the dropdown, including the current product.
- Check whether the row is hidden instead. In product and set modes, a manual row or an empty custom identifier hides the entire row. Hide rows without values also hides a row that is empty across the eligible pool or set. A value missing for only one product can still show a dash when strict completeness is off. With Hide products missing any row value on, that product is excluded; if it is the viewed product, the automatic comparison hides.
- Check the source and information agree. A cleanser category may not offer SPF level. Use an applicable attribute or a custom field for information not covered by the category.
- Check products outside the selected pool too. In automatic mode, the current product anchors the first column when the section is shown, even when it is outside the comparison collection, so its values also need filling.
- Check saves and refresh the preview. Save both the product values and the theme row connections. If admin shows the new values but an already-open preview still shows the old ones, reload it and allow Shopify’s storefront data to refresh before changing the setup again.
The fastest check is the product in Shopify admin. If the value is blank there, the theme has nothing to show.
Return to the current product
On a product page, the card for the product being viewed omits its View product link. Enable Show Swipe up button under Call to action to show a compact Swipe up button with an upward chevron instead. It scrolls to the nearest Product chapters or Product stage section above the comparison. Other comparison products keep their View product links when enabled.
The button has its own toggle, so it can remain enabled when Show the View product button is off. It stays hidden when neither product section exists above the comparison, or JavaScript is unavailable. Reduced motion and the theme’s No motion setting use immediate scrolling.
Align the mobile header
- Open Formula comparison in the theme editor.
- Under Content, set Header content alignment to Left or Center. Center places the whole header and its text in the center of the section.
- Preview at a phone width and save.
Mobile header alignment defaults to Use header content alignment, so the eyebrow, heading, and supporting text follow the main header setting on phones too. Select Left or Center there to override mobile independently. Existing saved mobile choices remain in effect. Both alignments use the shared page gutters. Product cards and row labels keep their own alignment.
Comparison artwork
Custom artwork uses Shopify-responsive image candidates. Bundled botanical art also supplies 160px, 320px and original-size candidates; no merchant asset is needed. Use a transparent .png or .svg for custom illustrations.
Section settings
Every setting on the section itself, in the order it appears in the theme editor. Group headings match the editor's own grouping.
Content
Use Header content alignment to follow the main header setting, or override it on screens below 750px.
Comparison columns
Choose which products fill the columns. On a product page the section can lead with the product being viewed and let customers pick what to compare it with. On a set, it can compare the products listed in the set's Set contents metafield.
Applies in product mode. Leave blank to use each product's smallest collection with at least two products; comparisons can differ between pages. Select a shared collection for consistent comparisons. Products follow collection sort order, excluding the current product.
Marks the first column as the product the customer is viewing. Leave blank to hide it.
Optional. Enter a single-line text product metafield's full namespace and key, such as custom.comparison_badge. Each product supplies its own badge text. Leave blank to hide badges. Enter plain text, without a dynamic source.
Filters only within the selected or automatically chosen collection, using Shopify Product type. It does not search other collections. The section appears for customers only when another product matches. Products without a product type skip this filter.
Appears beside the product being viewed. Fewer columns show if the collection holds fewer products.
Only offers alternatives sharing at least one populated comparison row with the viewed product. Hides the section if none qualify. Price and badges do not count.
Only shows products with every configured, visible comparison row filled. Applies before empty-row hiding. An incomplete viewed product hides the section. Price and badges do not count. Default is off.
Hides a row when every product in the eligible comparison pool or set has no value. Checks all swap choices so rows stay aligned when customers change products.
Sets the length of each column's list. The page prepares every choice, so a shorter list keeps the page lighter.
Comparison rows
Name up to six rows and choose how each value displays. For tags, separate values with commas. For time of day, type AM, PM, or both. For a strength meter, type a number out of five with an optional label, like 3/5 Gentle.
Optional text shown at the top of the left column.
Extra tags collapse behind a control that customers can expand. Applies to rows using the tags style.
Call to action
On product pages, replaces the current product's View product link with a button that scrolls to Product chapters or Product stage above this section. Hidden when neither section is available. Other products keep their View product links.
Style
Standard limits the comparison to 1200px on wide screens, matching Proof ledger. Wide fills the theme page width. Both keep the section background full width.
Show a decorative line illustration at the top of the label column.
400 x 720px .png recommended. Use a transparent line illustration.
Applies on every screen size. Square keeps cards shortest on a phone.
Reveal the comparison as it scrolls into view. Respects the theme motion settings.
Padding
Blocks
Blocks are added, reordered, duplicated, and removed inside the section. Each type has its own settings.
Comparison row row max 6
Names the row in the label column. Rows appear once you add a heading.
Fills this row from each product automatically. The typed value appears when a product has no data for the attribute.
This row works only with products picked manually in formula blocks. Enter its value in each formula block. Choosing the current product plus the customer's choice for Column products hides this row.
Enter a product metafield identifier, such as custom.when_to_use. Each comparison product supplies its own value. Supports text, numbers, true/false, and lists of text or numbers. Missing or unsupported values use the formula block's typed value, or show a dash when no fallback is available.
Formula formula max 4
Title, image, link, and price are read from this product.
Feature this product with a short label, such as Most loved. Leave blank for none.
Appears after the price, such as / 30 ml.
Row values
Fill in a value for each row heading set in the section. Match the row's value style: tags use commas, time of day uses AM and PM, strength uses a number like 3/5.