DocsDynamic comparison

Collection & search pagesPro

Turn on the Dynamic compare app embed, and an “Add to compare” checkbox appears on the product cards of your collection and search pages.

Pro plan feature

Dynamic comparison is available on the Pro plan.

1. Enable the app embed

  1. Open the theme editor (Online Store › Themes › Customize).
  2. In the left sidebar, click the App embeds icon.
  3. Turn on Dynamic compare and click Save.
Dynamic compare app embed

Shortcut: click Enable app embed in the App extensions card of the app home page.

2. Choose where comparison is available

Show only on selected collections

Select the collections where the “Add to compare” checkbox is displayed. Leave empty to show it on all pages. Useful for stores selling very different kinds of products.

Clear compare list on page changeDefault: Off

Empties the comparison list each time the customer changes page. Combined with the previous setting, it ensures customers only compare products of the same collection.

3. Display the button on product cards

How the checkbox is added to product cards depends on your theme.

Themes with blocks in product cards

Recent Shopify themes (such as Horizon) let you add blocks directly inside product cards. This is the recommended approach when your theme supports it: you control the exact position of the button, and it’s automatically hidden for products without a specification table.

  1. In the theme editor, select the product card of your collection template.
  2. Click Add block › Apps › Add to compare.
  3. Position the block and click Save.
Add to compare block in a product card

Supported themes include:

  • Atelier
  • Dwell
  • Fabric
  • Heritage
  • Horizon
  • Pitch
  • Ritual
  • Savor
  • Tinker
  • Vessel

Your theme isn’t listed? If you can add app blocks to its product cards, it works too — ask your theme developer.

Other Online Store 2.0 themes

For other themes, the app embed automatically injects the checkbox at the right place in product cards. It works out of the box with 173 popular themes — see the full list of supported themes.

Add to compare checkbox on product cards

It also works with the product grids of these search and filter apps:

  • Boost AI Search & Filter
  • Searchanise Search & Filter
  • Smart Product Filter & Search

The Product card category of the app embed offers these settings:

Show add to compareDefault: On

Turn off if you don’t want the app to inject the checkbox — for example when you use theme blocks or a custom button.

Font sizeDefault: 15 px

Text size of the “Add to compare” label.

Custom target selector

For themes that aren’t supported natively: a CSS selector telling the app where to insert the button in each product card.

Button not showing?

If your theme isn’t supported and you don’t know how to write a CSS selector, contact our support with the name of your theme. We regularly add built-in integrations for new themes.

Next step

Customize the compare bar and the comparison dialog.

Still stuck?

Our support team answers every email, usually within one business day.

Contact support