---
title: "How to set Magento 2 recently viewed products"
url: "https://magecomp.com/blog/set-magento-2-recently-viewed-products/"
date: "2020-07-06T19:08:48+00:00"
modified: "2020-07-06T19:08:48+00:00"
author:
  name: "Gaurav Jain"
  url: "https://magecomp.com/"
categories:
  - "General"
  - "Magento Tutorials"
word_count: 378
reading_time: "2 min read"
summary: "Hello Magento Folks?,"
description: "How to set Magento 2 recently viewed products to help the users for finding their recently searched products which they kept on hold for some specific reasons."
keywords: "General, Magento Tutorials"
language: "en"
schema_type: "Article"
related_posts:
  - title: "How to Disable Payment Method Programmatically in Magento 2"
    url: "https://magecomp.com/blog/disable-payment-method-programmatically-magento-2/"
  - title: "How to Configure the Pagination Controls in Magento 2?"
    url: "https://magecomp.com/blog/configure-pagination-controls-magento-2/"
  - title: "Why Your Brand Needs Influencer Marketing and How Does Shopify Collabs Benefits It?"
    url: "https://magecomp.com/blog/benefits-of-influencer-marketing-and-shopify-collabs/"
---

# How to set Magento 2 recently viewed products

_Published: July 6, 2020_  
_Author: Gaurav Jain_  

![](https://magecomp.com/blog/wp-content/uploads/2020/07/How-to-Set-Recently-Viewed-Products-in-Magento-2-1024x512.webp)

**Hello Magento Folks?,**

Are you all busy with your tasks? As always let me introduce you with our today’s topic How to set Magento 2 recently viewed products? Have you visited the previously solved problem with [**How to Upload Product Animated GIF Images in Magento 2**](https://magecomp.com/blog/how-to-upload-product-animated-gif-images-magento-2/) Let’s Dive In?
**Preface:**

For all the Magento 2 stores the first priority is to provide the best user experience to their customers. All the merchants who are on peek to provide their customers with a better shopping experience are in the right place. Today I will help you to set Magento 2 recently viewed products to help the customers for finding their recently searched products which they kept on hold for some specific reasons.
**Steps to set Magento 2 recently viewed products:**

**Step 1:** Navigate to Admin Panel>content>Widgets
![Admin_panel_magento_2](https://magecomp.com/blog/wp-content/uploads/2020/07/Admin_panel_magento_2.png)

**Step 2:** Tap on Add Widget:
![Add_widget_magento_2](https://magecomp.com/blog/wp-content/uploads/2020/07/Add_widget_magento_2.png)

**Step 3:** Select Recently Viewed Products and select your appropriate theme that is used on your website and click on continue.
![Select_theme_magento_2](https://magecomp.com/blog/wp-content/uploads/2020/07/Select_theme_magento_2.png)

**Step 4:** Now you will be redirected to **Storefront Property Settings**.
Configure the settings as per your requirement.
**Widget Title:** Add Appropriate title for your widget instance
**Assign to Store Views:** Select according to your requirement:
**Sort Order:** Sort Order of widget instances in the same container
![Storefront_2_magento_2](https://magecomp.com/blog/wp-content/uploads/2020/07/Storefront_2_magento_2.png)

**Step 5: Add Layout Update:** Select **Generic Pages>Specified Page:** Select Page and container as per your requirement.
Now Select the template and after that select display pages as per given below in the below screenshot
![Add_widget_2_magento_2](https://magecomp.com/blog/wp-content/uploads/2020/07/Add_widget_2_magento_2.png)

**Step 6:** Now go to the Widget Options for adding the number of products to display
![Save_config_magento_2](https://magecomp.com/blog/wp-content/uploads/2020/07/Save_config_magento_2.png)

**Save** the **Configuration** and **refresh the Cache.**

That’s It.
You can check in the Widgets section that will display the added widget.
**Final Words:**

Hence, with the above-given solution, you will be able to set Magento 2 recently viewed products for your Magento 2 store. After implementing this section on your Magento 2 store you will find improved customer experience and boost in overall sales. So what are you waiting to implement right now? If any issues occurred during the implementation do comment below. And I will love to hear your reviews in the comment section after the implementation of recently viewed products widget on your Magento 2 store. Don’t forget to share with your Magento Business friends for helping them improve their customer experience.
**Happy Reading?**


---

_View the original post at: [https://magecomp.com/blog/set-magento-2-recently-viewed-products/](https://magecomp.com/blog/set-magento-2-recently-viewed-products/)_  
_Served as markdown by [Third Audience](https://github.com/third-audience) v3.5.3_  
_Generated: 2026-09-08 08:38:48 UTC_  
