Experience customization for Loomi AI for Shopify

Experience customization lets you adjust the markup for Search, Autosuggest, and Collections widgets directly inside the Loomi AI for Shopify app. Each widget renders through a web component with default HTML — the editor lets you replace that with your own EJS, without modifying connector code or waiting for a developer release.

📘

Benefits and use cases

For examples of what teams build with experience customization, see Experience customization benefits and use cases for Loomi AI for Shopify.

Template building blocks

A template controls how the widget looks. Each one is built from three kinds of building blocks that link your custom HTML to what the widget already does: the data you show, the parts shoppers can click, and the updates that follow.

🛑

Customer responsibility

Custom HTML overrides are the customer's responsibility. Test all customization on your storefront before publishing and verify that they preserve the contract documented in the HTML and EJS reference.

Building blockDescriptionWhat you need to do
EJS variables — the data you displayThe widget gives your template live values: product title, price, the list of swatches, and more. You print them with EJS tags, so <%= productCard.title %> shows the current product's title.Place variables where you want the values to appear. Variables are read-only and refresh automatically when the underlying data changes.
Data attributes — the parts shoppers clickdata-br-action drives interactions: a data-br-action on a swatch tells the widget it's a variant selector. Other data attributes, such as data-value and data-filter-value, only store values the widget reads when an action fires.Keep data-br-action on the right element, or the interaction quietly stops even when the element still looks correct. Preserve value attributes so actions fire with the right data.
Custom events — the updates that followAfter the widget handles a click — a sort, a filter, a new page — it signals what changed so the grid reloads, filter pills update, and the page jumps.No action needed. These keep the page in sync automatically.

What you can customize

The experience customization editors are available for Search, Collections, and Autosuggest. Here, you can customize the following components:

ComponentWhat it controls
Page layoutOverall page structure: facet sidebar, product grid, sorting bar, pagination.
Product cardIndividual product tiles — image, title, price, swatches, badges, and variant logic.
Text facetCheckbox-based filter facet with the facet title and selectable values plus counts.
Slider facetRange slider filter for price and other numeric attributes, with min and max controls.
Selected facet pillActive filter pills with remove and clear-all options.
Components in a layout.

Related articles


© Bloomreach, Inc. All rights reserved.