Complementor/Product discount percentage
Commerce / widget · Elementor module

Product Discount Percentage Plugin for Elementor

Show a product’s actual current WooCommerce sale percentage, with explicit rounding and variable-product policy.

Included in All AccessClassic Elementor widgetFrom $29 USD / year
Complementor / Product discount percentageProduct preview
Text, style and layout controls inside Elementor
01 / Interactive demonstration

Percentages from actual current sale prices

Explore how current product prices, rounding and variable-product settings affect the discount you display. Choose another example to compare the results.

02 / Inside WordPress

Choose the source and discount presentation

Source supports the current public product, a selected public product or a manually entered public product ID. Behaviour chooses rounding and variable-product policy. Display controls the suffix, optional icon and fallback output; native styles control typography and the text surface.

03 / Website use cases

Where to use product discount percentage

A discount badge needs to match the product’s current price. This widget computes the percentage from the same product’s regular and effective WooCommerce prices and checks its active-sale state. Use explicit rounding and an optional largest-variation policy instead of typing a percentage that can become outdated.

01

Sale product cards

Place a computed percentage beside an actual sale price.

02

Product landing pages

Keep promotional wording tied to one explicitly selected public product.

03

Variable product summaries

Choose the largest active variation discount while making that summary scope clear.

04 / Installation and setup

How to display a current sale percentage

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

  1. Enable Product discount percentage with Elementor and WooCommerce active.

  2. Save the product’s real regular price, sale price and optional sale schedule in WooCommerce.

  3. Choose the current product, select a public product, or enter a valid public product ID.

  4. Choose rounding and keep variable products hidden or explicitly select the largest active variation discount.

  5. Edit the suffix and fallback output, style the text, then verify active, inactive and scheduled product states.

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, selected public product or strict manual product ID.

  • Rounding: nearest whole percentage, down or up.

  • Variable products: hide by default, or show the largest active visible variation’s own discount.

  • Display: literal suffix after the number, optional decorative icon, and hide/custom text when no percentage is displayed.

  • Style: typography, text colour, alignment, background, border, radius and padding.

  • Icon: colour and responsive size, gap and position.

06 / Choose the right approach

Product discount percentage and Elementor alternatives

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

A sale-price display

Use your existing WooCommerce price presentation when the regular and current prices communicate enough. This widget adds a separate computed whole percentage.

A manually maintained text badge

Fixed text is suitable for a short controlled promotion, but must be updated when prices change. This widget reads current stored product data when the page renders.

07 / Requirements and compatibility

Product discount percentage compatibility with Elementor

WordPress 6.5+PHP 8.0+Elementor 3.25+
  • Requires Elementor and WooCommerce; public published non-password-protected product parents only.
  • Picker examines up to 200 published products and excludes protected titles; manual ID can select another eligible product.
  • Uses active sale state and each product’s own real regular/effective-price pair. Invalid, nonfinite, zero regular or nonpositive differences produce no percentage.
  • Whole-number rounding only; a result of zero is hidden or replaced by configured text.
  • Largest-variation policy checks published visible child variations individually; it is not a stock availability or checkout assessment.
  • Server-rendered output; no selected-variation listener or cart/price mutation.

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.

Why is the percentage hidden?

The product may not be public, may not have an active sale, or may lack a valid positive regular/effective-price difference. Variable products are hidden by default.

Why did a small discount disappear?

A discount that rounds down to zero produces no positive percentage. Choose a different rounding method or the fallback text output if appropriate.

Why is a future sale not displayed?

WooCommerce’s active-sale state is checked. A future or expired schedule does not produce a current discount percentage.

Why is a manually entered ID ignored?

Enter a positive integer for a published, publicly viewable product without a password. Variation IDs and malformed values are excluded.

09 / Frequently asked questions

Product discount percentage plugin questions

Does it change prices?

No. It only displays a computed percentage; WooCommerce remains responsible for product and cart prices.

What do variable products show by default?

Nothing. A variable parent has no single product-wide percentage. You can explicitly opt into the largest active visible variation discount.

Does it follow a selected variation?

No. The largest-variation option summarises eligible variation data; it does not listen to shopper variation selection.

Can I change the suffix?

Yes. The suffix is literal plain text appended after the number. Include any desired leading space before a word.

Does it update a cached page instantly?

No. It reads product data when the page renders. Refresh page caches after changing prices or schedules.

10 / Annual All Access subscription

Get product discount percentage with Complementor

This module is included in Complementor All Access. Choose your production website allowance; every plan includes the same available modules.

All Access · 1 site

One website

$29USD / year
  • All 490 available 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 490 available 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 490 available 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. Read the terms and 14-day technical-issue refund policy.