Discount Percentage Display for Woo

Plugin Banner

Discount Percentage Display for Woo

by Mutt Group / Mutt Studio

Download
Description

Discount Percentage Display for Woo adds a clean and automatic discount percentage label next to product prices in WooCommerce.

The plugin supports:
– Simple products
– External products
– Grouped products
– Variable products (including dynamic updates when selecting variations)

The discount percentage is calculated based on the regular price and sale price and is displayed in a clear and customizable format.

All settings are integrated directly into the WooCommerce settings panel, providing a native and seamless experience.

Features

  • Displays discount percentage next to product prices
  • Supports simple, grouped, external and variable products
  • Shows the highest available discount on variable products
  • Updates the discount dynamically when a variation is selected
  • Option to enable or disable the feature
  • Customizable discount label text (default: OFF)
  • Native WooCommerce settings tab
  • Lightweight and performance-friendly
  • No JavaScript required
  1. Upload the plugin folder to /wp-content/plugins/discount-percentage-display-for-woo/
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Go to WooCommerce Settings Desconto (%)
  4. Enable the discount percentage and customize the label text if needed
Does this plugin work with variable products?

Yes. The plugin displays the highest discount available on the product page and updates the discount dynamically when a variation is selected.

Can I change the discount label text?

Yes. You can change the label text (for example: OFF, DESCONTO, SAVE, 🔥) directly in the plugin settings.

How can I customize the appearance of the discount label?

You can style the discount label using CSS.
Use the following class:

.wdpd-discount-percent

Does this plugin require JavaScript?

No. The plugin uses native WooCommerce hooks and works seamlessly with AJAX variation updates.

Will this plugin affect performance?

No. The calculations are lightweight and only run when prices are rendered.

1.0

  • Initial release
Back to top