Templates

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.

Template Manager

Access Templates from the Rules Editor by navigating to Relevance > Rules > Templates. See Use Predictive Merchandiser Templates for instructions on using Templates.

Templates are only available with a valid license for Predictive Merchandiser. If available, you’ll see the templates icon in the left navigation panel: Templates icon

For configuration information, see Templates Configurations Reference.

Templates

Templates are comprised of two primary elements, the template itself and its associated zones. A variety of conditions, or triggers, determine which template is shown to the customer. These triggers can include whether the template is active, the template’s precedence over other templates, the customer’s query, and whether the template is triggered within a specific date range (if set).

Default templates

A new app starts with built-in templates: Product Detail Page, Search Results, and Typeahead. The Product Detail Page and Search Results Page templates are immediately available in the Templates screen.

  • Product Detail Page - The Product Detail Page defines what a customer sees when they view the details of a product. It can be configured in the Templates screen or by hovering over a product in the Predictive Merchandiser screen and clicking the Product Detail Page button that appears.

  • Search Results page - The Search Results Page defines what a customer sees when the reach a search results page. This template can also be configured in the Template screen. Alternatively, you can:

    1. Visit the Predictive Merchandiser screen.

    2. Click the Start Task button.

    3. Click the Edit Template button in the top nav.

  • Typeahead Template - The Typeahead Template allows you to configure what is displayed when query terms are typed into the search bar. To add this template:

    1. From the Predictive Merchandiser screen, click the Start Task button.

    2. Enter a search query term in the search bar. A box appears that states "Typeahead not created. Do you want to create a new typeahead template?".

    3. Click the New button to create the typeahead template.

Zones

Zones enable Fusion users to create rules designed for specific query profiles. Combined with templates, this allows a search application to display results from multiple query profiles in the same view.

For example, if a customer searches for climbing, one zone can fetch results for climbing apparel, and another zone can fetch blog posts about climbing. The same zone can be used in multiple templates, and changes to a zone will be made on all templates that zone is used in.

Templates backend example

In the example above, a unique template is fired for the query cyber monday. This template has two zones:

  • Zones indicator 1 Promoted - Display advertised products.

  • Zones indicator 2 Main Results List - Display general search results.

Additional resources

Templating with Predictive Merchandiser

Templates training video

Visit the LucidAcademy for more video courses and instructor-led training.