Magento 2 Most Viewed Products Slider Extension

Magento 2 Most Viewed Products Slider module allows showing all products which are most concerned by many viewers on your store. The list of the most viewed items is the great suggestion for customers' choices.

  • Show Most Viewed Products on the slider
  • Responsive slider
  • Casual OWL slider options (all options)
  • Insert most viewed products slider anywhere on your store
  • Easy to install and setup



30-day Money Back


1-Year Update


1-Year Support

Compatible with: CE 2.0 - 2.1.0, EE 2.0 - 2.1.0

Magento 2 Most Viewed Products Slider by Mageplaza is the perfect option to show the popular products on the dynamic slider. This plugin inhering in Magento 2 Product Slider extension will make your product page more professional and attractive. Applying Most Viewed Products Slider at your store means helping customers get the best collection of the most interested products at the present instead of wandering the store. Making Most Viewed Product Slider visible on your store is the great way to boost online sales by shortening the distance between customers and your goods.

How does it work

When you enable Magento 2 Most Viewed Products Slider module and create the slider in the configuration, the list of your most viewed products will slide out in the lively and attractive way on the storefront with the animation effects you have chosen before. Continue with the settings, you can set the number of the products displaying on the slider. Along with product image, your clients can also see the price information, rating for the product and even Add to Cart button to proceed to the checkout whenever they need.

How to use

We will show you how to use insert Product Slider in CMS page, Static Block, XML File, XML Data, .phtml file.

CMS Page, CMS Static Block

{ {block class="Mageplaza\Productslider\Block\NewProducts" template="Mageplaza_Productslider::productslider.phtml" products_count="8" heading="New Products" description="Here is your new products description"} }

You can paste the above block of snippet into CMS page such as Home page or specific CMS page or any CMS static block in Magento 2.

XML File , XML Data

<block class="Mageplaza\Productslider\Block\NewProducts" name="product.slider.  newproduct" template="productslider.phtml">
    <argument name="products_count" xsi:type="number">8</argument>
    <argument name="margin" xsi:type="string">5</argument>
    <argument name="heading" xsi:type="string">New Products</argument>
    <argument name="description" xsi:type="string">Here is your new products   description </argument>

Open layout file such as category_catalog_view.xml or XML Data and insert the above block of code, then all categories page will be added the product slider with 8 new products.

.phtml file

<?php echo $block->getLayout()->createBlock('Mageplaza\Productslider\Block\NewProducts')->setTemplate('productslider.phtml')->toHtml();?>

Open a .phtml file and insert where you want to display the product slider.


Submit your review


Your email address on Mageplaza's store


Plain text, no HTML tags.