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.

Fetch Product Recommendations from a Different Source

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.

When you configure a SaaS environment for Recommendations, that SaaS environment collects catalog data and storefront behavioral data. Adobe Sensei analyzes that data and computes product associations used to serve Product Recommendations.

On non-production environments like testing or staging, there is often not much storefront behavioral data (unless automated) to serve Recommendations. Actual shopper behavior at scale is captured only on the production environment.

Magento allows you to use product recommendations computed in your product environment on other, non-production environments. Using this data inside non-production environments allows you to preview which recommendations your shoppers will see and experiment with different recommendation types and placement locations.

Through the Admin UI in your non-production environment, you can fetch recommendations generated from actual shopper data from your production environment or another environment. Changing where those recommendations are fetched is done by specifying a different SaaS environment.

Fetch Recommendations from different SaaS environment

Before you begin, make sure that:

  • Storefront data collection is configured and enabled on production.
  • Your non-production environment catalog is largely the same as the one that you have in production. Using similar catalogs ensures that the products returned in the recommendation units closely mimic those on production.
  1. Launch your non-production environment.

  2. On the Admin sidebar, go to Marketing > Promotions > Product Recommendations.

  3. Select Settings.

  4. In the Recommendations source section, enable the Fetch recommendations from a different SaaS environment option.

    The Available SaaS Environments list appears.

  5. Select the SaaS environment associated with your production environment or another environment that has shopper data you want to use.

  6. Click Save changes.

    Magento will now fetch recommendations from that environment.

    When recommendations from another SaaS environment are displayed on the storefront, a storefront user can only preview them (they are not clickable).