Magento 2 On Sale Products Slider Extension

Magento 2 On Sale Products Slider module allows showing all products at the discount price on your store that match to customer’s expectation.



30-day Money Back


Lifetime Update


1-Year Support

Compatible with: CE 2.0.x - 2.1.x - 2.2.x

Magento 2 On Sale Products Slider by Mageplaza is the perfect option to show the discounted products that on the dynamic slider. This plugin inhering in Magento 2 Product Slider extension will make your product page more professional and attractive. Applying On Sale Products Slider at your store means helping customers get the best collection of the items in the current promotion program at the present instead of wandering the store. Especially, each item on the on sale products slider is marked by “Sale” label to draw visitor’s attention. Making On Sale 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 On Sale Products Slider module and create the slider in the configuration, the list of your on sale 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. On the slider, along with product image, your clients can also see the price information (original price and discounted price), 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.


  • assignment_ind
    Great Extension

    Posted by Gagan. verified_user Verified Buyer
    We can create any type of product list easily and efficiently. Easy to customize and helpful for magento 2 developer. As a developer i recommend to my workmates and friends, Great tool, best extension.. ;)

  • assignment_ind
    Nothing to say Excellent

    Posted by Raminda. verified_user Verified Buyer
    I used this extension with M2 and nothing to say Excellent Extension and fully compatible with Magento 2 One more thing don't worry to use Mageplaza free extension because their support is really good even it is free. Thanks

  • assignment_ind
    Good Job from MagePlaza

    Posted by Raminda. verified_user Verified Buyer
    I tried this plugin about 2 days back and it is working perfectly with M2. Again excellent extension from MagePlaza and it is free of charge. Don't worry to use extension, team will support from the beginning if you have any issue or in you need support even it is free. support team is really supportive and friendly. Can recommend to anyone who need product on Magento store. Thanks

  • assignment_ind
    cool user experience

    Posted by Hardik. verified_user Verified Buyer
    this extension is the coolest extension to increase user experience in your website and improve the conversion rate

  • assignment_ind
    Great Product

    Posted by André Pato. verified_user Verified Buyer
    Amazing extension, been using it in almost every project. Easy to use, great documentation and support. Saved me a lot of working hours to get something like this up and running

  • assignment_ind
    Extension product slider working excellent!

    Posted by Vivek. verified_user Verified Buyer
    The extension is working nice. I'm happy with your work. Best extensions are given by Mageplaza. The extension works perfectly with the default Luma theme. This extension improves my rate store.

  • assignment_ind
    Excellent extension!

    Posted by miguel. verified_user Verified Buyer
    This a great extension! It's very interesting and helpful to my store in many aspects. Thank Mageplaza team for this free extension that makes better magento community. This extension improves my rate store.

  • assignment_ind
    Greatness of Extension!

    Posted by Akash Lal. verified_user Verified Buyer
    One of the best extension one can use. Thank you for this help. Remember the name - Mageplaza Extension!

  • assignment_ind

    Posted by Akash. verified_user Verified Buyer
    Greatness of this extension is pretty high. The world-class module for Magento 2.

  • assignment_ind
    Product Slider M2

    Posted by Akash. verified_user Verified Buyer
    So much helpful... We needed something like this.... Mageplaza saved my life... Thank you...

  • assignment_ind
    Gives cool user experience

    Posted by Ganesh. verified_user Verified Buyer
    Honestly, this extension is the coolest extension to increase user experience in your website and improve the conversion rate. One more thing, whenever you install this extension please don't forget to take the backup so that you will not regret in future for not compatible with your theme or any other reason.

Submit your review


Your email address on Mageplaza's store


Plain text, no HTML tags.