Merchandizing Rules

Merchandizing Rules provide the ability to create and manage boost and bury conditions, sort definitions, and control how products are displayed in specific search scenarios. Rules can be applied to both Site and Category search types.

Create a Rule

Follow the below instructions to create a new merchandizing rule. To edit an existing merchandizing rule, simply click the rule in the table and you will be able to update these configurations.

  1. Click MAIN in the left-hand navigation, click the Search drop-down menu, and then click Merchandizing Rules.
    Merchandizing Rules in the navigation sidebar
  2. Click the tab for the search type you want to create a rule for (Site Search or Categories) in the main part of the page, then click Create New Rule in the top right.
    Screenshot of Merchandizing Rules with an arrow pointing to the Create New Rule button
  3. Toggle whether you want the rule to be immediately enabled or not. If you are editing an existing rule, you can use this toggle to manually enable/disable a rule that was deactivated or activated by a campaign.
  4. Enter a name (required) and description (optional) of the rule.
  5. Schedule the rule by entering a start date and time (required) along with an end date and time. Rules remain active indefinitely if the end date is left blank. Information can be typed into the field or chosen from the calendar icon, which opens a date picker. Times are entered according to a 24-hour clock.The General settings for a merchandizing rule

Criteria

The Criteria section will be different depending on whether you are creating a rule for Site Search or Categories.

Search Terms

If you are creating a Site Search merchandizing rule, use the Criteria section to enter specific terms that will trigger the rule. 

  1. To add terms, type them into the field and press Enter after each one. 
  2. To delete a term, click the next to it. Gif of entering search term criteria for merchandizing rules

Letter case doesn't affect the search terms entered. When a user searches using any of the terms associated with an active rule, the boost and bury conditions you create will affect the search results for the scheduled period.

Categories

If you are creating a Categories rule, use the Criteria section to select which categories will trigger the rule. 

  1. Click Add to open a modal of all available categories.The Criteria modal with a callout for the Add button
  2. Select the categories you want the rule to apply to by checking the checkboxes, then click Apply. To deselect a category, uncheck the checkbox.The Add Categories pop-up with a couple example categories selected

Boost/Bury Conditions

You can Boost or Bury any field attribute that you made available in the Schema Editor. This allows you to change the order certain products appear in search results relative to other products. The allowable boost/bury value is -10 to 10. Any positive value above 0 is a boost, while any negative value is a bury.

  1. To add a new entry, click Add Condition.
    The Conditions section with a callout for the Add Condition button
  2. Select the Field/Attribute, Operator, Value, and Boost/Bury value. You must enter the Value only in lowercase as shown below, or else it may cause errors.
    The configuration menu for an example condition
  3. Click Done.

Sort Definitions

If you are creating a rule for Categories, a section for Sort Definitions will be displayed. This is not available for Site Search rules. 

  1. To add a new sort definition, click Add Sort.The Sort Definitions section with a callout for the Add Sort button
  2. Select the Field/Attribute and Order, then click Done. Use the trash icon to cancel the sort definition. The configuration menu for an example sort definition

Blocked Products

You can block individual products from showing up in search results by specifying them in this section.

  1. To add a new entry, click Edit List.
    Screenshot of the blocked products list with an arrow pointing to the edit list link
  2. Search for the products you want to block. You can use the Name, Code, or Product Type as a search term.
    Screenshot of the blocked products list with an arrow pointing to the search field above the list
  3. Select products by clicking the checkbox.
    Screenshot of the blocked products list with an arrow pointing to a checked entry within the list
  4. Click Update. The selected products now appear as blocked.
    Screenshot of the blocked products list with one entry

You can remove a product from this list by selecting Unblock Product in the options menu.

Screenshot of the blocked products list with an arrow pointing to the Unblock Product option

Preview a Merchandizing Rule

As you change various settings within a rule, you can preview the search results before saving. This is supported for both search term and category criteria. To preview results, select a search term, then click Preview.

Gif of selecting a search term within merchandizing criteria and clicking the preview button

In this example, a rule is being created to promote the gloves. The standard search configurations can be viewed by previewing the search term without any conditions.

The red gloves (Denali Etip Gloves) appears seventh in the list. Hovering over the information icon displays information about the ranking. You can view relevancy, personalization, and total score.
Screenshot of search results for gloves without any conditions

The goal for this rule is to move the Denali Etip Gloves up in the results. Therefore, the color red is given a boost of 10.
Setting the condition for merchandizing rules to boost items of red color

Once this boost value for the color is saved, you can preview the search results again. This time the Denali Etip Gloves product has moved up to the first spot within the search results, and hovering over the information popup verifies that the score for that product has increased. 

Results preview with a color condition applied

Manually Change Search Results

You can also manually change results in preview to override any conditions you set. This can be done by modifying ranking, pinning, or manually adding products.

Ranking

To modify the ranking of a result, click and drag the resorting icon to the desired location.

Gif of changing the ranking of a result by dragging

Alternatively, you can edit the Rank text box to the desired value. The ranks of all other results will then adjust accordingly.

Editing the rank textbox to adjust rankings

Adjusting the ranking of a result in this way locks all results that rank above it. In this example, changing the ranking of the Denali Etip Gloves to rank 3 locks the results in ranks 1 and 2. You can further modify the rankings of any results lower than this, but you cannot set them to rank 3 or above.

To reset this ranking back to the original state, click Reset Order in the options menu for the result.

Reset the ranking order of results

Pinning

You can lock a single result in a position by clicking the pin icon on it. To reset the result, click the pin again.

Pinning a result in preview

It is not recommended to pin more than 10 or 20 products. If you want to promote a larger number of products, then boosting will be more efficient and have a lower impact on system load.

Unlike ranking modification, pinning a result does not lock all results above it. This can be to ensure that any other ranking modifications won't change the rank of the pinned item. In the above example, the NTS Micro 150 Pattern Gloves are pinned at rank 3. In this case, if you then manually change the ranking of the Denali Etip Gloves to rank 1, everything but the NTS Micro 150 Pattern Gloves are pushed down to the next rank.

Results preview with manual ranking adjustment and pinning active

Add Products

You can manually add products to your search results. This allows you to display additional products that wouldn't normally appear for a search term or category, such as if you wanted to list certain water bottles in addition to the search results for exercise shorts.

  1. Click Add Products in the top right of the preview pane.A callout for the Add Products button on the Merchandizing Rules page
  2. Search for the products you want to add. You can use the Name or Code as a search term.The product picker modal with a callout for the search bar
  3. Select products by clicking the checkbox.The product picker with an example item selected
  4. Click Move To Top to update your search results with the additional products at the top of the list.The Move To Top button at the bottom of the product picker

You can then pin or block these added products as needed just as you would for existing products. To remove all of your added products at once, click Reset All in the top right of the preview pane to restore the search results to their original state.