Skip to content

MagePsycho/magento2-product-discount-label

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 Product Discount Label

Magento 2 Product Discount Label

Packagist Version Packagist Downloads Supported Magento Versions License

Overview

Magento 2 Product Discount Label allows displaying custom discount labels with calculated savings on catalog and cart pages.

Showing custom labels with calculated discount (ex: SAVE X%, -X%, .etc.) draws the attention of the users and motivates purchasing behavior.
In other words, this extension helps to promote products and get higher conversion rates.

This is an absolute "must-have" for every store - especially stores which offer deals and discounts.

Key Features

  • Enable/disable the extension as per store
  • Option to set the custom label with a dynamic discount placeholder on the catalog/product page
  • Option to set the custom label with a dynamic discount placeholder on the cart page

Feature Highlights

Set Discount Label

With this extension, the store admin can set different discount labels for both catalog & cart pages.

Some examples:

  • SAVE {{discount_percent}}%
  • -{{discount_percent}}%
  • etc.

{{discount_percent}} will be replaced by discount percent value.

M2 Product Discount Label - Admin Settings

M2 Product Discount Label - Product Page

Installation

  1. Download the extension .zip file and extract the files.
  2. Copy the extension files from src/ folder to the {your-magento2-root-dir}/app/code/MagePsycho/DiscountLabel (create non-existing folders manually)
  3. Run the following series of commands from the SSH console of your server:
php bin/magento module:enable MagePsycho_DiscountLabel --clear-static-content
php bin/magento setup:upgrade
  1. Flush the store cache
php bin/magento cache:flush
  1. Deploy static content - in Production mode only
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy
  1. Go to Admin > CATALOG > Discount Label > Manage Settings

Live Demo:

Changelog

Version 1.0.0 (2022-02-02)

  • Initial Release.

Authors

  • Raj KB Twitter Follow

Contributors

Contributors

To Contribute

Any contribution to the development of Magento 2 Product Discount Label is highly welcome.
The best possibility to provide any code is to open a pull request on GitHub.

Need Support?

If you encounter any problems or bugs, please create an issue on GitHub.

Please visit our store for more FREE / paid extensions OR contact us for customization / development services.