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.

  • Show On Sale Products on the slider
  • Responsive slider
  • Casual OWL slider options (all options)
  • Insert on sale products slider anywhere on your store
  • Easy to install and setup



30-day Money Back


Lifetime Update


1-Year Support

Compatible with: CE 2.0.x - 2.1.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.


Submit your review


Your email address on Mageplaza's store


Plain text, no HTML tags.