Loomi AI for Shopify Collections

Collections is an App Block that replaces the default Shopify collection pages with Bloomreach-powered product listings. This guide walks you through enabling Collections in the Shopify theme editor and configuring its settings.

Loomi AI for Shopify Collections

Prerequisites

Before you set up Collections, ensure you:

Enable Collections

  1. In your Shopify admin, go to Online Store > Themes > Edit theme.
  2. Click + Add section and from the Apps tab, add Bloomreach Collections to your theme.
Add Loomi AI for Shopify Collections.
  1. Configure the following settings to enable and connect your collection:
    • Collection — Choose which Shopify collection to use as the category context. Its handle (for example, summer-sale) is sent to the API so Bloomreach knows which category to serve.
    • Endpoint — Choose whether collection requests go to your Staging (test) or Production (live) Bloomreach environment.
  2. Optionally, configure additional settings.
  3. Click Save.

Configure Collections settings

After adding Collections to your template, configure the following settings in the Loomi AI for Shopify app:

Loomi AI for Shopify Collections settings.
SettingDescription
Items per pageDefine how many products appear per page. Enter a whole number (for example, 10). Decimals and special characters aren’t supported.
Display variantsChoose whether each product variant (for example, size or color) appears as a separate result or is grouped under a single product.
Include facetsEnable or disable filter facets (for example, brand, price, color) on collection pages.
FieldsSpecify which product attributes the API returns, using comma-separated Solr field names. See Supported fields below.
Sorting optionsConfigure the "Sort by" dropdown by mapping user-friendly labels to sort expressions (for example, sale_price+asc for ascending price order).
Additional parametersAppend extra query parameters to every collection API call for advanced behaviors such as views, segments, or experiments.
Custom CSSApply custom CSS to style the collections widget and result components (product cards, facets, sorting, pagination) without modifying your theme's core code.

Click Save to apply your settings.

Supported fields

The following Solr field names are available for the Fields setting:

  • pid
  • title
  • sku_title
  • variant_title
  • brand
  • price
  • thumb_image
  • variants
  • skuid
  • sku_color_group
  • sku_color
  • sku_swatch_images
  • sku_thumb_images
  • url
  • sale_price
  • sku_sale_price

Related articles


© Bloomreach, Inc. All rights reserved.