Complementor/Product discount percentage
Commerce / widget · Elementor module

Product discount percentage plugin for Elementor

Show a calculated WooCommerce sale percentage with rounding and an optional largest-variation policy.

Included in All AccessClassic Elementor widgetFrom $29 USD / year
Complementor / Product discount percentageProduct preview
Illustrative sample / Saved data

Current sale percentage

  • 25% OFF

Sample values; no live ACF or WooCommerce connection.

Text, style and layout controls inside Elementor
01 / Interactive demonstration

Explain a current WooCommerce sale as a percentage

Compare a simple sample sale from 100 to 75 (25% OFF), a largest eligible variable-child example (40% OFF), and a no-sale message. These samples change no real prices or carts.

Example appearanceIllustrative styles using the available controls
  • 25% OFF

Illustrative price arithmetic: (100 − 75) ÷ 100 gives 25%. The variable example uses the largest eligible child discount, not an average or shopper-selected AJAX variation.

02 / Inside WordPress

Configure sale percentage output in Elementor

Choose a product source, rounding and variable-product policy. Edit the suffix and not-on-sale behavior, then optionally choose an icon. These controls display a computed fact; they do not apply a discount.

Elementor editor · Product discount percentage

Product discount percentage widget and its controls in the Elementor editor
Actual staging Elementor Behaviour and Style panel capture for this widget. A capture alone does not prove frontend, mobile or saved-setting acceptance.
03 / Website use cases

Where to use product discount percentage

A crossed-out price tells customers the amounts but may not explain the percentage saved. This widget computes a product's current sale percentage from its own regular and effective price, with a clear variable-product policy.

01

A simple product's sale fact

Show 25% OFF when the product's regular price is 100 and effective sale price is 75. The label supplements the store's prices rather than replacing them.

02

A clearly labeled variable-product promotion

Use the largest-variation policy with surrounding text that makes the maximum clear. Keep the default hide policy when one percentage would mislead readers.

03

A selected product on a campaign page

Enter a public Product ID for a featured product outside the convenience picker. The percentage reads that product's current sale data rather than hardcoded campaign text.

04 / Installation and setup

How to show a product sale percentage in Elementor

Start with Complementor installed and your license connected. Enable this module in the WordPress library, then configure it in Elementor.

  1. Use the internal reviewed Complementor development candidate with WooCommerce and classic Elementor active. Enable this module explicitly in the module library on staging; customer availability is pending release acceptance.

  2. Save a real regular price and active sale price on a public product in WooCommerce. For variable products, save prices on the relevant variations.

  3. Add Product discount percentage. Choose Current product, a convenience product selection or explicit Product ID.

  4. Choose nearest, down or up rounding. Variable products hide by default; choose largest active variation discount only when that meaning fits the page.

  5. Edit the text after the number and no-sale behavior. Configure the optional icon and Style controls, then verify live prices, output and cache behavior on staging before release.

05 / Content and style controls

Customize product discount percentage in Elementor

Configure the settings available for this module to suit the page you are building.

  • Source: current product, a published-product convenience list capped at 200, or strict positive Product ID.

  • Rounding: nearest integer, floor or ceiling. A result that is not positive is hidden or follows the empty-output setting.

  • Variable policy: hide by default or show the largest computed percentage among published, visible, non-password-protected child variations currently on sale; no average or parent-price approximation.

  • Editable text after the number, and hide or custom text when no positive current discount is available.

  • Optional native Elementor icon, off by default; conditional icon color and responsive before/after position, size and gap.

  • Text typography and color; background, border, responsive alignment, padding and corner radius. Native Advanced controls remain available.

06 / Choose the right approach

Product discount percentage and Elementor alternatives

Compare the existing Elementor workflow with this Complementor module before choosing your setup.

Elementor Product Price

Elementor documents native regular/sale price presentation and styling. Use it when the price amounts are sufficient. This candidate adds a separate computed integer percentage; it does not replace the price widget.

Your theme's sale badge or a maintained shortcode

Check the existing theme or WooCommerce extension first for the exact sale-badge scope needed. This widget is separately placed text, not an automatic replacement for badges across archives or loops.

07 / Requirements and compatibility

Product discount percentage compatibility with Elementor

WordPress 6.5+PHP 8.0+Elementor 3.25+
  • Requires WordPress, classic Elementor and WooCommerce. Local native tests used WordPress 7.1.2, Elementor 4.3.2 and WooCommerce 11.1.2; that is not a compatibility matrix.
  • Reads published, natively publicly viewable parent products without a stored password. Draft, private, password-protected products and explicit variation IDs are excluded.
  • Development candidate: 324 native checks passed across these three candidates, including source eligibility, responsive CSS generation and staged asset registration; this is local module evidence. Browser editor, published frontend, mobile styling, Theme Builder, Loop Grid and Elementor Pro integration remain unverified.
  • Read-only output: no cart, checkout, payment, stock or product-data updates. No ACF source, uploaded-SVG compatibility or dynamic-tag support is claimed.
  • Uses WooCommerce's on-sale state plus each product's regular/effective price. It does not calculate coupon, cart-total, shipping or customer-specific savings.
  • The largest-variation option is a maximum, not a discount guaranteed for every option. The widget does not update when the shopper selects a variation.
  • No theme sale-badge replacement, price manipulation, sale scheduling UI or promotional urgency claim. Native WooCommerce scheduling and caches still need store-level verification.
  • Effective prices must be finite and numeric, with a positive regular price and a nonnegative lower sale price. A valid zero sale price can show 100%; malformed or negative prices produce no discount fact.
  • Official hosted test dependencies are now available at WordPress 7.1.2, Elementor 4.3.3 and WooCommerce 11.1.2. These three modules still need their own real editor save/reopen and frontend/mobile acceptance there.

Complementor uses classic Elementor APIs. Atomic-native controls are not implemented. Check your theme, cache and integrations on a staging site before release.

08 / Common setup problems

Troubleshoot product discount percentage

Check these settings if the published page behaves differently from the editor.

The widget is hidden although a sale price is saved.

Check WooCommerce's current on-sale state, effective price and regular price. A future sale, invalid regular price or rounded result of zero can be hidden. Variable products also hide under the default policy.

Not every variation has the percentage shown.

Largest active variation discount reports the maximum. It is not a universal discount. Use clear nearby copy or choose Hide for variable products.

The number differs from a cart coupon.

Coupon and cart-rule savings are outside this product-price calculation. Verify the product's regular/effective price and refresh page/CDN caches after a sale change.

The maximum looks wrong after a variation was hidden.

The largest policy uses actual published, visible, non-password-protected children on sale. Check each eligible variation’s current regular and effective price, native visibility and page cache. It does not use a parent price approximation or react to the shopper’s dropdown selection.

09 / Frequently asked questions

Product discount percentage plugin questions

Does the plugin apply a product discount?

No. It displays a percentage computed from existing WooCommerce sale data. Prices, coupons and checkout remain unchanged.

How is the percentage calculated?

For a currently on-sale product, the calculation is (regular price minus effective price) divided by regular price, multiplied by 100, then rounded with the chosen policy.

Can I show a variable-product percentage?

Variable products hide by default. An optional policy reports the largest active variation discount; it does not average variations or react to the shopper's selection.

Does it replace all WooCommerce sale badges?

No. It is a separate widget for a current or explicitly chosen product. Archive badges, Loop Grid and Theme Builder contexts are unverified.

Which integrations are verified?

Actual local WooCommerce/Elementor render and control checks passed. Pro templates, browser/mobile styling and other pricing extensions have not been validated.

10 / Annual All Access subscription

Get product discount percentage with Complementor

This module is included with all 1007 current Complementor solutions. Choose your production website allowance; every plan includes the same modules.

All Access · 1 site

One website

$29USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 1 site ↗

Renews at $29 USD each year.

All Access · 5 sites

A few websites

$49USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 5 sites ↗

Renews at $49 USD each year.

All Access · 25 sites

More websites

$99USD / year
  • All 1007 current modules
  • Plugin downloads and updates for one year
  • New releases during the paid term
  • Product support
Choose 25 sites ↗

Renews at $99 USD each year.

Applicable taxes extra. Annual subscriptions renew automatically unless canceled in your customer account. Elementor Pro is required for Exclude current post. Read the terms and 14-day technical-issue refund policy.