Related product rules (target rules)
Related product rules give you the ability to target the selection of products that are presented to customers as related products, up-sells, and cross-sells. Each product rule can be associated with a customer segment to produce a dynamic display of targeted merchandising.
Since several active rules can be triggered at the same time, you can set a priority for each rule. It defines the order in which rules are applied and products are displayed on the page.
To access the related product rules, go to Marketing > Promotions > Related Product Rules.
Column descriptions
Related Products
, Up-sells
, and Cross-sells
.Active
or Inactive
).Rule priority
At any given time, there might be several active rules that can be triggered to display related products, up-sells, and cross-sells. The priority of each rule determines the order in which the products appear on the page. The value can be set to any whole number, with 1
having the highest priority.
The number of product IDs that can be included in a product relations rule is determined by the Result Limit
value, which has a maximum of 20. The Result Limit
value, combined with the Configurable Maximum
for the specific rule-based product promotion becomes the Real Limit
, and determines the actual number of matching products that can appear in the list.
[Result Limit] + [Configurable Maximum] = [Real Limit]
For example, suppose you have three rules with a priority of 1
, 2
, and 3
.
-
There are two matching products returned for Rule 1, six matching products for Rule 2, and 20 matching products for Rule 3.
-
In the configuration, the Maximum Number of Products for Related Products List is set to
6
.table 0-row-3 1-row-3 2-row-3 3-row-3 Rules Priority Matching Products Rule 1 1
2
Rule 2 2
6
Rule 3 3
20
If the first rule returns more matching products than allowed by the configurable maximum limit, but less than the real limit, the matching products from the other rules are used (in order of priority) until the real limit is reached.
By priority, the matching products returned from Rule 1 can be used first to fill all 26 available slots. Because Rule 1 returned only two matching products, there is still room for 24 more. Rule 2 has the next highest priority, and returns six more matching products. There are now 18 available slots to be filled. Rule 3 has the next level of priority, with enough matching products to fill the remaining 18 slots. When all available slots are filled, and depending on the rotation mode that is set, products might be shuffled or ordered by ID inside each priority and then reduced to the configurable maximum limit. In this case, the remaining six products appear in the store.
Configure rule-based product relations
The behavior of product relationship rules and display of matched products are determined by the configuration settings. These settings determine how many of the products that match the rule can be displayed and the order in which they appear.
-
On the Admin sidebar, go to Stores > Settings > Configuration.
-
In the panel on the left, expand Catalog and choose Catalog underneath.
-
Expand the Rules-Based Product Relations section.
img-md w-600 modal-image -
Enter the Maximum Number of Products in the Related Products List.
-
Set Show Related Products to one of the following:
Both Selected and Rule Based
Selected Only
Rule-Based Only
-
Set Rotation Mode for Products in Related Product List to one of the following:
By Priority, Then by ID
By Priority, Then Random
Weighted Random
-
To complete the cross-sell product settings, do the following:
-
Enter the Maximum Number of Products in the Cross-Sell Product List.
-
Set Show Cross-Sell Products to one of the following:
Both Selected and Rule Based
Selected Only
Rule-Based Only
-
Set Rotation Mode for Products in Cross-Sell Product List to one of the following:
By Priority, Then by ID
By Priority, Then Random
Weighted Random
-
-
To complete the up-sell product settings, do the following:
-
Enter the Maximum Number of Products in the Upsell Product List.
-
Set Show Upsell Products to one of the following:
Both Selected and Rule Based
Selected Only
Rule-Based Only
-
Set Rotation Mode for Products in Upsell Product List to one of the following:
By Priority, Then by ID
By Priority, Then Random
Weighted Random
-
-
When complete, click Save Config.
Rotation modes
Use Real-Time CDP audiences to inform related product rules
Learn how to activate Real-Time CDP audiences into your Adobe Commerce instance to inform related product rules.