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 Let’s Dive In?


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


Step 2: Tap on Add Widget:


Step 3: Select Recently Viewed Products and select your appropriate theme that is used on your website and click on continue.


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


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


Step 6: Now go to the Widget Options for adding the number of products to display


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?

Click to rate this post!
[Total: 7 Average: 5]