This article talks about troubleshooting suggestions for the
magento/product-recommendations module and its dependency
saas-export module since you need both modules operating in order to use the Product Recommendations tool in Magento Commerce.
Affected products and versions
- Magento Commerce 2.3.x
- Magento Commerce 2.4.x
Troubleshoot product-recommendations module
If you have configured the
magento/product-recommendations module correctly (Check Product Recommendations - Install and Configure Recommendations), but you are not seeing any recommendations, try the following:
- It is possible that the module has not had enough time to collect behavioral data. Allow the system to run for 24 hours so it can start collecting data. Consider deploying a recommendation type that does not require any behavioral data, such as "More like this".
- If you are not seeing the recommendations that you configured, it is possible there is not yet sufficient data to build recommendations for the user.
- Ensure the SaaS Environment ID or API Key are valid. If you get an error after specifying your SaaS Environment ID or your API key during the product recommendations initialization, check to make sure you have entered the SaaS Environment ID and API key correctly. To ensure the MageID and API key are linked, the user who owns the MageID, typically the user who owns the Magento license, needs to be the same user who generates the API key. If you must change the MageID that was used, submit a Support ticket.
If Cookie Restriction Mode is enabled, Magento does not collect behavioral data until the shopper consents. If Cookie Restriction Mode is disabled, Magento collects behavioral data by default.
Catalog SaaS Export module
For issues related to the Catalog SaaS Export (
- Confirm the cron jobs are running.
- Confirm the indexers are running and the
Product Feedindexer is set to
Update by Schedule.
- Confirm the modules are enabled. The
saas-exportmetapackage installs the following modules, all of which must be enabled:
- Check the logs. Make sure there are no errors associated with the above modules.
- Refresh Configuration cache. Go to System > Tools > Cache Management, and clear the configuration cache.
- Confirm there is data in the
Recommendation Events describes the behavioral events that are sent to Magento.