Integrations
Platmart Color Swatches adds swatches to your storefront through two Shopify app embeds, Product swatches and Collection swatches. Each embed finds the right spot on the page and inserts the swatches. Most apps use your theme’s normal product and collection templates, so swatches show up alongside them with no setup.
Filter and search apps replace the product grid when shoppers filter, sort, or paginate. Platmart Color Swatches watches for new product cards and adds swatches to them, so those apps work without setup too.
Two kinds of apps need a little more:
- Apps that build their own layout, like page builders, sometimes need a one-line snippet that tells Platmart Color Swatches where to put the swatches.
- Apps outside your theme, like mobile app builders, read your swatch data and display it themselves. You turn on public metafields in Platmart Color Swatches, then turn the integration on in that app.
Guides
Section titled “Guides”| App | Type | Setup |
|---|---|---|
| Boost AI Search & Filter | Search & filter | None on Boost V3. Snippet for Boost V2. |
| Smart Product Filter & Search by Globo | Search & filter | None on current versions. Snippet for older setups. |
| Omnise AI Page Builder (formerly Beae) | Page builder | None for most layouts. Snippet for custom sections. |
| Brillocraft Mobile App Builder | Mobile app | Turn on public metafields, then one toggle in Brillocraft. |
| EX Show Variants on Collection | Variant display | None. |
Using a different app? Try it first, because most apps work with no setup. If swatches don’t show up, add a swatch container. If that doesn’t help, contact support with your store URL and the app name, and we’ll help you set it up.
When a snippet is needed
Section titled “When a snippet is needed”The embeds place swatches by looking for familiar parts of a page, like the variant picker or the product price. When an app draws product pages or product cards from its own markup, the embed may not find a place for the swatches. This mostly happens with:
- custom sections in page builders
- older versions of filter and search apps that use their own product card templates
The fix is the same in both cases: add a swatch container to the app’s template, and Platmart Color Swatches renders into it.
The swatch containers
Section titled “The swatch containers”Add one of these to the app’s template where you want swatches to appear.
Product page:
<div data-pl-swatches-product></div>Collection page:
<div data-pl-swatches-collection data-product-id="{{ product.id }}" data-product-url="{{ product.url }}"></div>The collection container needs the product’s ID and URL. The exact variable names depend on the app’s template - some use {{ product.id }}, others use their own variables like {{ itemId }} and {{ itemUrl }}.