Magento 2 Product Discount Label
This extension allows displaying custom discount labels with calculated savings on catalog and cart pages.
Compatibility
Community: 2.3, 2.4Enterprise: 2.3, 2.4
Display dynamic discount labels with calculated savings on catalog and cart pages to boost conversions and drive sales in your Magento 2 store.
The Problem
Default Magento 2 shows only strikethrough pricing on discounted products. Shoppers often overlook savings, leading to missed opportunities and lower conversion rates on promotional campaigns.
The Solution
The Magento 2 Product Discount Label extension renders eye-catching custom labels such as "SAVE 25%" or "-30%" directly on product listings and cart line items, drawing attention to deals and motivating purchasing behavior.
Key Features
{{discount_percent}} in label templates to auto-calculate and display the exact savings percentage.
Feature Highlights
Configure Discount Labels from Admin
Store administrators can define separate discount label templates for catalog pages and cart pages.
Use the {{discount_percent}} placeholder anywhere in your label text, and the extension
will automatically replace it with the real-time calculated discount percentage for each product.
Supported Label Formats
| Label Template | Rendered Output (30% off) | Best For |
|---|---|---|
SAVE {{discount_percent}}% |
SAVE 30% | Catalog & product pages |
-{{discount_percent}}% |
-30% | Compact badge labels |
{{discount_percent}}% OFF |
30% OFF | Cart line items |
You save {{discount_percent}}%! |
You save 30%! | Promotional campaigns |
{{discount_percent}} placeholder is calculated automatically from the difference between the regular price and the special/sale price. No manual entry is needed per product.
Screenshots


What's Included
- Custom discount label templates with dynamic percentage calculation
- Separate label configuration for catalog pages and cart pages
- Per-store-view enable/disable control for multi-store environments
- Works with simple, configurable, grouped, and bundle product types
- Compatible with Magento 2.3.x and 2.4.x (including PHP 7.4+ and PHP 8.1+)
- Clean, lightweight code with no core modifications
- Easy installation via Composer or manual file copy
Installation
Download the extension .zip file and extract the contents.
Copy the extracted files from the src/ folder into your Magento installation:
cp -r src/* {magento2-root-dir}/app/code/MagePsycho/DiscountLabel/
Enable the module and run the setup upgrade:
php bin/magento module:enable MagePsycho_DiscountLabel --clear-static-content
php bin/magento setup:upgrade
Flush the store cache:
php bin/magento cache:flush
Deploy static content (Production mode only):
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy
Navigate to Admin > CATALOG > Discount Label > Manage Settings to configure your labels.
Live Demo
v1.0.0
released on 2022-02-02- added Initial Release
Generic
How can I pay for MagePsycho extensions?
If I buy an extension, how would I get it?
After you make a purchase, the order will appear in the "My Orders" section of your personal account page.
As soon as the order status becomes completed the purchased extensions can be downloaded from "My Downloads" section.
How can I get the license key(s) for the purchased extension?
In case if you have't received any license key(s), please Contact Us with the order #.
Are your extensions open source or encrypted?
Do you provide Magento customization service?
Can I get a refund if an extension doesn’t suit me?
After 30 days from the date of purchase, the refund is not applied. You also cannot ask for a refund for the installation service or custom service.
If you are looking for a specific solution for your store, please Contact Us.Can I request a free trial?
But if you buy an extension and it doesn’t suit you in any way, you can request a refund with no risks on your side.
Moreover, most of our extensions have demos, where you can see how our modules work.
What is the license policy? On how many websites can I use MagePsycho extensions?
In the case of additional licenses, we do provide a good discount.








