After July 2021, the 2.3.x release line no longer received quality updates or user guide updates. PHP 7.3 reached end of support in December 2021, and Adobe Commerce 2.3.x reached end of support in September 2022. We strongly recommend upgrading to Adobe Commerce 2.4.x to help maintain PCI compliance.

Configuring Related Products Rules

This site contains archived merchant documentation for a version of Adobe Commerce and Magento Open Source that has reached end-of-support. The documentation available here is intended for historical reference only and is not maintained. The Adobe Commerce Merchant Documentation for current releases is published on the Adobe Experience League.
Magento Commerce only. Learn more.

The behavior and display of product relationship rules is determined by the configuration settings. The settings determine how many products that match the rule can be displayed, and the order in which they appear.

Configure rule-based product relations

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Catalog and choose Catalog underneath.

  3. Expand Expansion the Rules-Based Product Relations section and do the following:

    Catalog configuration - rule-based product relations Rule-Based Product Relations

    • 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:

      • Do Not Rotate
      • Shuffle
  4. 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:

      • Do Not Rotate
      • Shuffle
  5. 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:

      • Do Not Rotate
      • Shuffle
  6. When complete, click Save Config.