Templates UI Configuration Options
The Templates screen in the Rules Editor allows you to design, test, and implement a wide variety of search experiences. Results are conditionally delivered from multiple different query pipelines, enabling you to use Fusion’s search, browse, and AI-driven functionality throughout your site.
Configuration options
Templates
When creating or editing a template, the status, such as active or stale, is indicated after the template name.
The active status can hold the following values:
Tag | New | Saved | Published | Active |
---|---|---|---|---|
Editing |
✅ |
|||
Stale |
✅ |
|||
(nothing) |
✅ |
✅ |
Configuration options for templates:
Option | Description |
---|---|
Precedence |
If multiple templates are triggered, this setting determines which template is displayed. Lower numbers are considered higher precedence. For example, a template with precedence of |
Display Name |
The name of the template. |
Type |
The type of template. This is an arbitrary value classifying the template. It has no effect on triggering/rendering logic unless the value is This value is read-only and for informational purposes only. |
Zones |
Determines which zones are loaded when the template is triggered. Zones are displayed in the order they appear. |
Triggering |
The conditions that must be met for the template to display.
|
Matches All Locations |
If set to On, this template is always displayed, and triggers are ignored. |
Triggering
The date range trigger is activated alongside triggers with an AND
logical operator. Conversely, triggers are activated alongside other triggers with an OR
logical operator. For example, consider the following scenarios:
Scenario 1 | Scenario 2 | ||
---|---|---|---|
Date Range |
none |
Date Range |
|
Search Term |
|
Search Term |
|
Search Term |
|
Search Term |
|
In Scenario 1, no date range is configured. The template is triggered if:
-
The user searches the term
cyber monday
orsales event
.
In Scenario 2, a date range is configured. The template is triggered if:
-
Today’s date is within the date range
November 25, 2020 - December 5, 2020
, and the user searches the termcyber monday
-
Today’s date is within the date range
November 25, 2020 - December 5, 2020
, and the user searches the termsales event
The template is not triggered if:
-
Today’s date is not within the date range
November 25, 2020 - December 5, 2020
-
Today’s date is within the date range
November 25, 2020 - December 5, 2020
, but the user does not search the termcyber monday
orsales event
Zones
Option | Description |
---|---|
Display Name |
The name of the zone. |
Type |
An arbitrary value classifying the zone. It has no effect on triggering/rendering logic. Intended only to be used by the PM UI. This value is read-only and for informational purposes only. |
Query Profile |
Determines query profile the zone will fetch results from. |
Tags |
Tags are passed to the query profile when rendering. They are combined with tags found in the request parameters of the render request. |
Omit Filters from Query |
If set to On, the filters ( |
UI Treatment |
Arbitrary text that is included in the response when rendering the zone. This is generally used by the frontend to determine how to display the zone. UI Treatment tags accept a color value to help distinguish them in the Predictive Merchandiser screen:
|
Results Layout |
Select grid or list view. |
Display Fields |
Add field names and how they are displayed (type of field). |
Product Image |
Field name for the product image. |
Product Title |
Field name for the product title. |
Product Description |
Field name for the product description. |
Product Image, Product Title, and Product Description are only used for rendering products in Predictive Merchandiser. Your search application will determine what fields are used in production. |