Only show rules for slots
Only show rules for slots
This is for:
MerchandiserIn the Recommendations manager of the Coveo Merchandising Hub (CMH), merchandisers can define Only show rules to ensure products that meet specific criteria are always shown in recommendation slots.
For example, if an only show rule specifies that products from the Flip flop
category should be shown, then only the products in this categories will appear in the recommendation slot.
Leading practice
|
Use case examples
Only show rules can be used to address a variety of use cases. Here are a few examples:
-
For a specific recommendation slot, you want to ensure that products from a specific category are always displayed. For example, when visitors are viewing products related to "Flip Flops," you want to ensure that products from the
Flip flop
category are shown in the recommendation slot. -
When your visitors are viewing products from a specific brand, you want to ensure that products from that brand are shown in the recommendation slot.
-
You want to ensure that products relevant to the current season are always shown in the recommendation slot. For example, you want to ensure that only products having
summer
as the value of theseason
attribute are recommended. -
You want a specific recommendation slot to show only products with ratings above 4 stars.
Prerequisites
To create rules, merchandisers must ensure they have properly configured their query pipeline and chosen the correct tracking ID to ensure that their changes impact the intended slots.
Create an only show rule
To create a rule:
-
In the CMH, access the Recommendations manager.
-
From the navigation tabs, select Filter rules.
-
Click Create filter rule, and then, select For a specific slot.
NoteCurrently, filter rules only apply to specific recommendation slots.
-
Select the Locale for which the only show rule will apply. By default, a rule applies to all available locales.
-
Select the Slot to which the only show rule will apply, and then click Done.
-
Under Choose an action, select Only show.
-
Under Attribute, select the attribute on which you want to apply the only show rule. For example, if you want to only show products based on the
brand
attribute, select brand. -
Under Operator, select the operator that you want to use.
-
Under Value, select the attribute value that you want to use to filter products. For example, if you want to filter products based on the
brand
attribute, enter the brand value that you want to use as a filter, such as Barca Sports. Note that you can select multiple values for the attribute.-
For a recommendation slot using a seeded strategy, you can select the Use "Same as product…" option to use a dynamic value. For example, on a PDP, you could create an Only show rule that uses the
brand
attribute and the Use "Same as product…" option to recommend products from the same brand as the product being viewed. If a visitor is viewing aBarca Sports
product, the recommendations will display otherBarca Sports
products.
-
-
(Optional) If you want to add more attribute-value pairs to the only show rule, click Add attribute and repeat the process.
-
Click Next: Review and publish.
Leading practiceYou can preview the effect of your rules by using the Preview panel on the right side of the page. You can use this panel to see how the rule affects the products on the recommendation slot for a given locale.
If you’re previewing a rule for a recommendation slot using a seeded strategy, you must choose the product(s) for which you want to simulate recommendations to see the effect of the rule.
-
Review your rule configuration, and then click Publish.
-
In the Publish now panel, enter a meaningful name for your rule, and then click Publish. The rule now applies.
Manage existing only show rules
To manage an existing only show rule:
-
In the CMH, access the Recommendations manager.
-
From the navigation tabs, select Filter rules.
-
Locate the rule you want to manage.
-
Click Modify. You can now decide to edit the rule or delete it.