Use swatches with page builders

Show swatches on product pages and landing pages built with PageFly, GemPages, Replo, Instant and other page builders.

Updated Dec 2, 2026

Page builders draw product pages and landing pages with their own blocks. Combio works with them in two ways: on product pages it finds the product's details and puts the swatches there by itself, and anywhere else one line of code places them.

Product pages built with a builder

  1. Turn on the app embed in your theme (Settings → General → Themes in Combio).
  2. Open a product whose page is built with your page builder. The swatches show next to the product's details, as on a theme's product page.

This was checked on live product pages built with PageFly, GemPages, EComposer and Shogun. If the swatches land in the wrong spot, place them yourself (below).

Hide the builder's own picker

If the builder shows its own picker for the same option (a Color picker under your Color swatches), turn on Hide the theme's picker for the same option in Settings → General, under Product pages. It also hides GemPages' pickers, which appear after the page loads.

Place the swatches yourself

To put the swatches at a precise spot, add your builder's Custom HTML or Liquid element there and paste one of the codes below. Both are in Combio under Settings → Integrations → Page builders, each with a Copy button.

On product pages

<cl-swatches></cl-swatches>

This code shows the swatches of the page's product. Once it is on the page, the swatches show there instead of their automatic spot.

On landing pages

A landing page has no product of its own, so the code names one:

<cl-swatches data-product-id="{{ product.id }}"></cl-swatches>
  • Inside a builder's product block, paste it in a Liquid element as it is: {{ product.id }} becomes that block's product.
  • Anywhere else, click Choose product next to the code in Combio and pick a product. Its ID replaces {{ product.id }}, for example data-product-id="8012345678901", and the code works even where Liquid doesn't run.

The swatches of that product load from your storefront, the same way as on product cards. The code works on any page of your store. Combio's script loads on pages that hold the code, even with Show swatches on product cards turned off.

Works with

BuilderProduct pagesLanding pages
PageFly, GemPages, EComposer, ShogunSwatches placed by themselves, or with the codeWith the code
Replo, Instant, Zipify Pages, LayoutHub, OmniseWith the codeWith the code
Any builder with a Custom HTML or Liquid elementWith the codeWith the code

Replo, Instant, Zipify Pages, LayoutHub and Omnise are mostly used for landing pages: place the swatches there with the code.

Good to know

  • The app embed must stay on in your live theme: it loads the swatches, including where you pasted a code.
  • Product cards and quick views inside builder pages are not covered yet.
  • Instant's Custom Liquid element needs Instant's Starter plan.
  • The swatches look the same as everywhere else on your store: choose a template to change them.

Was this article helpful?

Related articles

Still need help?

Our team answers by chat and email, usually within one business day.

Email support