Skip to content

Merchandising

Merchandising allows you to make advanced rules to govern the way your search and recommendations behave. It allows you to highlight or bury entities, to help drive views and conversion rates for the products you deem important.

Creating a Merchandising Rule

From the My Relewise control panel, you can easily create and manage your Merchandising rules.

Creating a rule requires two pieces:

  • Rule scope – where and when the rule is active. You can combine several scope criteria such as search types, recommendation types, locations, languages, currencies, user conditions, and request filters.
  • Target entities – the products or content affected by the rule. In Boost/Bury and Pin rules this section is labeled Target entities, while Filter rules use Entities to exclude (filter).

A single rule may include multiple scopes and target several entities at once.

Scheduling

Scheduling allows you to control when a merchandising rule is active by setting a specific start and/or end time. This feature ensures your rules are applied exactly when needed, without requiring manual intervention.

To schedule a rule, you can specify:

  • Start: The date and time when the rule should begin.
  • End: The date and time when the rule should stop.

If no start date is provided, the rule will take effect immediately. If no end date is set, the rule will remain active continuously. Time is set using your local timezone (e.g., Europe/Copenhagen).

Merchandising Schedule

Example

Scheduling is ideal for automating time-sensitive campaigns, such as boosting sale items during Black Friday or promoting seasonal products.

Rule scope

In My Relewise, the rule scope defines when and where a merchandising rule is applied. Configure each tab to fine-tune the scope:

  • Search types – Select which search requests the rule should affect. If no search type is chosen, all search requests are included. Once you pick a recommendation type, only the selected search types will trigger the rule.
  • Recommendation types – Choose which recommendation requests are covered. Leaving this blank applies the rule to every recommendation type. This limitation only takes effect once you have chosen a search type.
  • Locations – Target a specific page or page type, such as the Product Details Page or the Power Step. All requests from the selected location will be affected.
  • Languages – Limit the rule to certain languages. With no language selected, the rule applies in every language.
  • Currencies – Limit the rule to specific currencies. With no currency selected, it applies to all currencies.
  • User conditions – Restrict the rule based on visitor attributes like login state or segment tags.
  • Request filters – Trigger the rule only when the request includes or excludes specific filters, or falls within a filter count range.

My Relewise automatically lists the request types detected on your site. Click Show all types if you want to stage a rule for a request type that has not yet appeared in the list.

Request filters

Use Request filters when a rule should only apply if the search or recommendation call contains certain filters—or omits them entirely. This is useful for targeting specific categories, brands, or other filter values.

Open the Request filters tab under Rule scope and specify when the rule is triggered:

Merchandising Targets

Include filters

Add filters the request must include for the rule to trigger.

Exclude filters

Add filters the request must not include for the rule to trigger.

Filter count

Trigger the rule only when the number of filters in the request falls within the specified minimum and/or maximum.

Example: Applying Merchandising to Categories

To apply a Merchandising rule to a specific category, open Request filters and specify the ID of the category in question. In our example, the request must include the filter for the category "Streaming Devices":

Merchandising Targets

Merchandising Targets

Merchandising Targets

Click here to see an example of a complete Merchandising rule with request filter context

Merchandising Targets

Targeting

Targeting refers to the entities that you want to target with your rule. This can be a particular product, a product category, a content page, a brand ID, a particular product tag, etc. The most commonly used Targeting types are found front and center when setting up a Merchandising rule:

Merchandising Targets

  • Match a Product: This filter matches with one or more Product IDs. You can search by product name or ID, and a list of suggested products will be presented to you. Each product needs to be added separately, so it is recommended to only use this for rules applying to a few products, or as a Negated target to filter out a handful of products from an otherwise active filter.
  • Match Product Data: This filter matches with one or more data keys present on a product, eg. ProductType, InStock, or Vendor. The data key is then given a condition for the rule to apply: To either equal, contain, be distinct from, be less than or be greater than a given value.
  • Match a Product Category: This filter matches with one or more Product Category IDs.
  • Match a Brand: This filter matches with one or more Brand IDs.

Advanced Settings

The Merchandising UI allows for the setup of advanced Merchandising rules through the 'Show Advanced' button. Relewise is set up to handle multiple filters for a single rule, in which case all filter conditions must be true for an entity to be returned. This makes it possible to filter out entities from a broader category by nesting filters inside each other.

Advanced merchandising targets

Negated targets

Negated targets allow you to sort exceptions out of the filters you are setting up. For example, you might want to create a Merchandising Rule that targets all but two products from a particular Product Category. In this instance, you would create a Rule that targets the Product Category ID, and then a second target that Negated the two products you do not want to boost.

Merchandising Negated Target

Boost/Bury Modifiers

When creating a boost/bury rule, you must specify a value by which to affect the relative weight of the affected entities. Note that the weight by which the boost/bury rule affects the entity is relative. This means that an entity with a high personalization score can still show up after being buried, if its personalization score still outweighs other entities in the results list.

The My Relewise interface allows you to set your boost/bury modifier in two ways: Either by entering a percentile value, or by referencing a data field on the affected entities.

Boost/Bury by Percentile Value

Setting a percentile value for your boost/bury rule ensures that all entities targeted by the rule will be affected by the same relative amount.

You can either select a value from the dropdown provided, or select the Custom field, which allows you to enter your own percentage value.

You may define a custom percentage to boost or bury

To put the percentages into perspective, a product being boosted by 100% will count for twice its normal weighting, and require half as much personalized relevance to be shown towards the top of the results compared to other products. Likewise, a product being buried by 50% will have its relative weight in the result ranking reduced to half, and will require twice as much relevance to be shown towards the top.

Boost/Bury by Datakey

A Merchandising rule can also boost of bury entities based on a datakey held within each entity; to do so, select "by datakey" and specify the name of the datakey found on the entity.

The datakey must be a double, with a value above 0.

When evaluating a datakey in this way, Relewise uses the value as a multiplier for the entity's relative weighting. In other words, a data key value above 1 will boost the product, while a value below 1 will bury it.

Weight calculation examples

A datakey of 1.2 will boost the relative weighting by 20%.

A datakey of 0.8 will bury the relative weighting by 20%

You may define a data key from which to pull the boost/bury value

Pin Rule Specifications

A Pin rule imbued with multiple entity IDs will display the entities in order, starting from the position specified in the pin rule. As such, it is not possible to pin multiple entities to the same position and have them alternate between page refreshes; the list of products will simply start at the specified position, and occupy the subsequent recommendation slots in sequence.

Pin rule clarification

To set up a pin rule, you must specify the entity ID(s) that you wish to pin. You cannot pin entities based on a datakey - which means that you cannot pin products on the basis of product category or similar.

Don't know us? Don't worry - you can find more information about us, by visiting our main page www.relewise.com