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.

Recently Viewed / Compared Products

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.

The Recently Viewed and Recently Compared blocks usually appear in the right sidebar of a catalog page. The number of products listed in each block can be configured for each website, store, or store view.

Configure Recently Viewed/Compared Products

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

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

  3. Expand Expansion selector the Recently Viewed/Compared Products section and do the following:

    Catalog configuration - recently viewed/compared products Recently Viewed/Compared Products

    • Set Show for Current to the website, store, or store view where the configuration applies.

    • In the Default Recently Viewed Products Count field, enter the number of recently viewed products to appear in the list.

    • In the Default Recently Compared Products Count, enter the number of recently compared products to appear in the list.

  4. When complete, click Save Config.