Search replaces the default Shopify search with Bloomreach-powered results. Search uses a unified catalog and relevance engine — including ranking, synonyms, spell correction, redirects, and faceted filtering — to deliver more relevant results.

This guide walks you through enabling Search in the Shopify theme editor and configuring its settings.

Loomi AI for Shopify search and autosuggest.

Prerequisites

Before you set up Search:

Enable Search

  1. In your Shopify admin, go to Online Store > Themes > Edit theme.
  2. Choose a section, click + Add Block and from the Apps tab, add Bloomreach Search to your theme.
Add Loomi AI search to your Shopify template.
  1. In the left panel, configure the search settings.
  2. Click Save.

Configure Search settings

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

Loomi AI Shopify Search settings.
SettingDescription
Search query previewSet a sample search term for the theme editor preview. This only affects what you see in the editor and doesn't change results on your live site.
EndpointChoose whether search requests go to your Staging (test) or Production (live) Bloomreach environment.
AutosuggestEnable or disable the autosuggest dropdown for the search input.
Items per pageDefine how many products appear per results 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, color, price) on search results pages.
Facet options limitSet how many values per facet trigger the "show more" option.
FieldsSpecify which product attributes the API returns, using comma-separated Solr field names. See Supported fields.
Sorting optionsConfigure the "Sort by" dropdown by mapping user-friendly labels to sort expressions (for example, sale_price+desc for descending price order).
Additional parametersAppend extra query parameters to every search API call for advanced behaviors such as views, segments, or experiments.
Custom CSSApply custom CSS to style the search bar, panels, and result components 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

Limitations

Media in a grid and variant slicing are not natively supported by the Shopify integration and require custom implementation.

Related articles


© Bloomreach, Inc. All rights reserved.