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.
Templates are only available with a valid license for Predictive Merchandiser. If available, you’ll see the templates icon in the left navigation panel:
For configuration information, see Templates Configurations Reference.
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).
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:
Visit the Predictive Merchandiser screen.
Click the Start Task button.
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:
From the Predictive Merchandiser screen, click the Start Task button.
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?".
Click the New button to create the typeahead template.
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.
In the example above, a unique template is fired for the query
cyber monday. This template has two zones:
Promoted - Display advertised products.
Main Results List - Display general search results.
Templating with Predictive Merchandiser
Visit the LucidAcademy for more video courses and instructor-led training.