Giter Site home page Giter Site logo

magepsycho / magento2-product-discount-label Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 3.0 23 KB

Magento 2 Product Discount Label

Home Page: https://www.magepsycho.com/magento2-product-discount-label.html

PHP 70.66% HTML 28.87% Less 0.47%
magento2 magento magento2-module magento2-extension magento2-extension-free discount label ecommerce percentage

magento2-product-discount-label's Introduction

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.

magento2-product-discount-label's People

Contributors

magepsycho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.