Recently viewed or compared products

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

To configure recently viewed and 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.

    Catalog configuration - recently viewed/compared products {width="600" modal="regular"}

    For a detailed description of each of these configuration settings, see Recently Viewed/Compared Products in the Configuration Reference Guide.

  4. Set Synchronize widget products with backend storage to synchronize product widget information, such as product ID, with your current product storage availability in the database and reuse this information on different devices.

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

  6. For Default Recently Viewed Products Count, enter the number of recently viewed products to appear in the list.

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

  8. For Lifetime of products in Recently Viewed Widget, enter any time range in seconds, greater than zero.

    This setting determines how long the viewed products are shown in the recently viewed list.

  9. For Lifetime of products in Recently Compared Widget, enter any time range in seconds, greater than zero.

    This setting determines how long the compared products are shown in the recently compared list.

  10. When complete, click Save Config.

recommendation-more-help
dacea746-44a9-4368-b3fb-3bcff64c6be1