kinuz/product-badge-percentage

Allow show badge percentage in product item

1.0.2 2024-06-17 05:05 UTC

This package is auto-updated.

Last update: 2025-04-17 06:47:24 UTC


README

How to install

1. Install via composer (recommend)

I recommend you to install Kinuz_ProductBadgePercentage module via composer. It is easy to install, update and maintaince.

Run the following command in Magento 2 root folder.

1.1 Install

composer require kinuz/product-badge-percentage
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Run compile if your store in Production mode:

php bin/magento setup:di:compile

2. Copy and paste

If you don't want to install via composer, you can use this way.

  • Download the latest version here
  • Extract master.zip file to app/code/Kinuz/ProductBadgePercentage ; You should create a folder path app/code/Kinuz/ProductBadgePercentage if not exist.
  • Go to Magento root folder and run upgrade command line to install Kinuz_ProductBadgePercentage:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

2. Configuration

Go to section Stores > Configuration > Kinuz > Product Badge Percentage

  1. Enable to module

preview catalog product view

3. Preview module active

Show badge percentage if product has especial price.

preview catalog product view

preview product view