Field rules are used to create facets and banners for a specific page. By default, facet under Site Rule is inherited to all the pages, however, you can override them by creating a field rule for that particular page.
Field rules allow you to show banners and facets when more than 80% of the products satisfy field rule criteria. While facets under Site Rules are displayed for all queries, Field Rules allow you to override the facets defined in site-rule based on product-type/category, etc.
When a query has multiple Field Rules – where more than 80% of retrieved products can map to two different Field Rules – the creation date of Field Rules is considered. Older Field Rules will take precedence over newer Field Rules. While facets under Site Rules are displayed for all queries, Field Rules allow you to override them for queries for certain type/category.
For example, if a field rule is created for ‘Hybrid Cycles’ and when a shopper searches for ‘Cycles’, and 80% of the search results are ‘Hybrid Cycles’, then the ‘Hybrid Cycles’ field rule will be applied.
Field Rules created in Search and Browse are exclusive of each other and will not overlap.
NOTE: In case of conflicts in facet settings, field rules are given preference over site-rules.
To add a field rule follow the mentioned process :
Navigate to Merchandising → Browse → Field Rule.
To add fields, do the following:
- Click .
- Select the fields you want to use. You can also search for the fields.
Note: You can select a maximum of five fields.
- Click Apply.
The selected fields appear in the Create Field Rule window.
The Create Field Rule window appears.
Select the field you want to use.
Select the respective field value.
Click Create Field Rule.
The new field rule is added to the Field Rule tab.
- Click the field rule you want to publish.
To set up banner using an image url, do the following:
a. Click Image url.
b. Enter the url of an existing banner image.
c. Enter the corresponding landing page url.
To set up a banner using HTML, click HTML, and then paste your banner HTML code.
Click the Facets tab. You can navigate to Manage → Configure Site to configure facets. For more information on configuring facets, see Configure Facets.
- To reposition a facet, do the following:
- Hover on the faceting row you want to reposition. The reposition icon appears.
- Click , and then drag the facet to a new position.
- If you want to show the facet on your site, in the Show column, select the respective facet checkbox.
- Click to save the repositioning changes.
To modify a facet, edit using the mentioned process :
Click the facet for which you want to edit the values.
Type the new facet length.
Select sort order for your facet. You can sort either by product count or alphabetically.
To go to the previous screen, click PREV.
To Delete a field rule follow the mentioned process :
- Within the console, navigate to Merchandising > Browse > Field Rule.
- Click Field Rule.
- Click the delete icon for the required Rule.
You’ve successfully deleted the field rule.
CAUTION: Deleting will permanently remove the Rule. You cannot recover a deleted field rule.
- Did this answer your question?