Shopping cart

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


365-Day Support

Compatible With

CE, EE 2.1.x - 2.3.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
    Excellent extension

    Posted by Vishal. verified_user Verified Buyer
    I used Product Slider extension. It was very helpful and the developers from Mageplaza is very good at solving issues. It was well working with our theme. I recommend to every Magento developer who needs this extension. Thank you!

  • assignment_ind
    This extension is okay if not using the widget or block snippet in CMS page

    Posted by GreenImp. verified_user Verified Buyer
    If you only want to create this slider through the plugin's "Product Sliders" section and add it to all pages, or categories, then this plugin is really good and provides a lot of options. It falls short, however, if you want to insert it as a widget, or block within a CMS page (Or template). A lot of the options aren't available through the widget or block, such as showing the product price, add to cart button etc. Basically, most of what makes the plugin useful is missing. There's also, currently several bugs that actually break it when using a block snippet. On the plus side, the code is open source, so it can be modified. I've fixed the breaking bugs, and added some of the missing options into the block snippet functionality, and have a pull request waiting for them to merge in. So hopefully the next release will have a few of these things fixed and it can get a higher ranking.

  • assignment_ind
    It was simple to know and apply on our store

    Posted by KOUSHIK CH. verified_user Verified Buyer
    This product helps me to add Product Slider flexible on CMS page. It is working great with all owl carousel's attributes. Also, it is easy to add with custom modifications.

  • assignment_ind
    Very useful extention

    Posted by obaid. verified_user Verified Buyer
    I have tested it in Magento 2.2.3. it's working fine and a great extension for Product Slider. It is working great with all owl carousel's attributes. Also, it is easy to add with custom modifications.

  • assignment_ind
    Great Product Slider

    Posted by Shantanu. verified_user Verified Buyer
    Great features with custom options :) I am very satisfied with the Product Slider. I am sure it will improve our website's user experience. I really recommend it to anybody looking for a function like this.

  • assignment_ind
    Professional support

    Posted by Abdulrahman. verified_user Verified Buyer
    One of the best extensions I used for Product Slider with a vast range of options. It works great on Magento 2.2.0. I really recommend it to everyone who is looking for a function like this.

  • assignment_ind
    It's worth using

    Posted by Asad. verified_user Verified Buyer
    This module is good but I need the slider widget, not the extension. Though I am new at Magento 2. I used it in my custom theme. It has a number of sliders best sellers, new products.

  • assignment_ind
    Nice, but like all others, is missing 1 element

    Posted by David. verified_user Verified Buyer
    I've seen several versions from other companies, and overall, I preferred MagePlaza's version; however, like all the others, it is missing one element that I feel would be quite useful. ALL featured extensions link directly to and are based on a direct selection of products. Thereto, they all take the BASE image as the image of choice to be used on the featured slider. My suggestion - and one that I think would push this extension well above the rest - would be to build in the ability to choose an image of your choice; that is, even one that is listed in the product's list of images (via drag & drop or upload. Additionally, instead of requiring the product's store URL, the ability to input a different URL - say, a static page - would also be useful.) Other than this, I'd recommend this feature product extension over everyone else's. Nice job, guys!

  • assignment_ind
    Very good plugin

    Posted by Roberto . verified_user Verified Buyer
    This food product is so easy to customize and work with other themes without any problem. I can use it with featured products and new products. And the best of all is that this module is free. I will strongly recommend.

  • assignment_ind
    Awesome extension

    Posted by arslan. verified_user Verified Buyer
    One of the best extensions I used for Product Slider with a vast range of options. It works great on Magento 2.2.2. I really recommend it to everyone who is looking for a function like this.

Submit your review

How do you rate this product?


Your email address on Mageplaza's store


Plain text, no HTML tags.