Complementor/Unit price
Commerce / widget · Elementor module

Product Unit Price Plugin for Elementor

Show WooCommerce price per unit from a manual quantity or a saved applicable ACF Number or Range field.

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

Unit prices calculated from real WooCommerce prices

These static examples were generated with current widget source through native Elementor rendering and CSS controls, using saved synthetic WooCommerce products. Sample currency: GBP; products are non-taxable. Each example shows a saved configuration.

02 / Inside WordPress

Product unit price controls in Elementor

Source uses the current public product or a selected published product. Quantity accepts a manual number or saved applicable top-level ACF Number/Range field. Behaviour sets the literal unit label, 0–6 decimals and hide/fallback output. Style exposes typography, colour, alignment, background, border, radius and padding.

03 / Website use cases

Where to use unit price

A £6 pack weighing 250 g costs £2.40 per 100 g. Enter 2.5 as the quantity for a per-100-g label, or save it in an applicable ACF Number or Range field. The widget divides the current product price by your quantity; the label itself does not convert measurements.

01

Groceries and bulk foods

Show price per 100 g or per kg next to each pack size so shoppers can compare.

02

Multi-packs and bundles

Show the price per item for packs of 6, 12 or 24.

03

Refills and liquids

Show price per litre or per 100 ml from a pack size saved on each product.

04 / Installation and setup

How to show a unit price in Elementor

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

  1. Enable Unit price in Complementor with Elementor and WooCommerce active.

  2. Choose Current product in a public product context, or select a published non-password-protected product.

  3. Choose the comparison unit: for a 250 g pack displayed per 100 g enter 2.5; for the same pack displayed per kg enter 0.25.

  4. Set a manual quantity, or enter the name/key of an applicable top-level ACF Number or Range field and save a positive value on the product.

  5. Write the matching unit label, choose decimals and fallback behavior, style the text, then compare the result with the pack price.

05 / Content and style controls

Customize unit price in Elementor

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

  • Source: the current product on product pages and templates, or a selected published product.

  • Quantity from a manual number (decimals allowed) or an ACF Number or Range field on the product, using only saved values.

  • Unit label you write, such as 'per kg', 'per 100 g' or 'per item'; nothing is inferred.

  • Decimals from 0 to 6, formatted with the shop currency, using the active (sale) price and the shop's tax display setting.

  • Missing or zero quantity: hide the widget or show fallback text.

  • Text style: typography, colour, alignment, background, border, corner radius and padding.

06 / Choose the right approach

Unit price and Elementor alternatives

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

WooCommerce price display suffix

A fixed price suffix can communicate a store-wide note. Check whether your existing price-display setup already calculates your per-product quantity; this widget provides an explicit denominator and separate Elementor text surface.

Typing unit prices into descriptions

Manual unit prices go out of date when prices or sales change. This widget recalculates from the current price whenever the page renders.

07 / Requirements and compatibility

Unit price compatibility with Elementor

WordPress 6.5+PHP 8.0+Elementor 3.25+
  • Requires Elementor and WooCommerce; ACF is optional for saved per-product quantities.
  • Only publicly viewable, published, non-password-protected product posts render. The picker examines up to 200 published products and excludes protected products.
  • WooCommerce shop tax display applies before division; the result uses 0–6 currency decimals.
  • One denominator and literal label per widget; no automatic unit conversion or legal-compliance certification.
  • Applicable top-level ACF Number/Range fields require persisted positive numeric values; unsaved defaults and nested fields are excluded.
  • Variable products use parent price; shopper variation selections are not tracked.
  • Server-rendered values refresh when the page renders; clear caches after product-price or quantity changes.

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 unit price

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

Why is the unit price hidden?

The quantity is missing, zero or not a number, or the product has no price. Check the manual quantity or the ACF field value, or choose Show fallback text.

Why is my ACF field ignored?

Enter the exact field name or key of a Number or Range field that applies to products, and save a value on the product. Default values are not used if nothing is saved.

Why does the unit price include or exclude tax?

It follows WooCommerce › Settings › Tax › Display prices in the shop, the same setting used for your product prices.

Why are only 2 decimals shown?

Increase Decimals in Behaviour. Up to 6 decimals are supported for very small units.

09 / Frequently asked questions

Unit price plugin questions

Does it use the sale price?

Yes. It uses the product's current active price, so a running sale lowers the unit price too.

Do I need ACF?

No. A manual quantity works without ACF; ACF is only needed to read a quantity saved on each product.

Does it convert units automatically?

No. You choose the quantity and the label; the widget only divides the price by your quantity.

Does it need Elementor Pro?

No. It works with Elementor and WooCommerce; Elementor Pro lets you add it to single product templates.

Does it work for variable products?

It uses the parent product's current price, which for a variable product is its lowest variation price; it does not update when a shopper picks a variation.

10 / Annual All Access subscription

Get unit price 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.