Title: Unit Price for WooCommerce
Author: Condless
Published: <strong>26 November 2020</strong>
Last modified: 23 August 2026

---

Search plugins

![](https://ps.w.org/unit-price-for-woocommerce/assets/banner-772x250.jpg?rev=2708022)

![](https://ps.w.org/unit-price-for-woocommerce/assets/icon-256x256.png?rev=2426309)

# Unit Price for WooCommerce

 By [Condless](https://profiles.wordpress.org/condless/)

[Download](https://downloads.wordpress.org/plugin/unit-price-for-woocommerce.1.2.7.zip)

 * [Details](https://en-gb.wordpress.org/plugins/unit-price-for-woocommerce/#description)
 * [Reviews](https://en-gb.wordpress.org/plugins/unit-price-for-woocommerce/#reviews)
 *  [Installation](https://en-gb.wordpress.org/plugins/unit-price-for-woocommerce/#installation)
 * [Development](https://en-gb.wordpress.org/plugins/unit-price-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/unit-price-for-woocommerce/)

## Description

WooCommerce plugin for configuring products which are sold by units but priced by
weight.

[Documentation](https://en.condless.com/unit-price-for-woocommerce/) | [Contact](https://en.condless.com/contact/)

For example: fish, watermelon, cabbage.

#### How To define products which are sold by units but priced by weight

 1. In the plugin settings enable the ‘Quantity Units’ option
 2. Go to the edit product screen
 3. Set the price of 1 unit of the product in the price field (General tab)
 4. Set the weight of 1 unit of the product in the weight field (Shipping tab)
 5. Select ‘Weight’ in the ‘Quantity Units’ option (Unit Price tab)

#### How It Works

 1. The customer choose how many items he needs from the product
 2. On order creation the item quantity is recalculated based on its weight
 3. The shop owner will be able to update the quantity of it from the edit order screen
    after he weighs the item

For example:
 1. The customer purchased 1 Salmon fish 2. The configured weight of
Salmon fish is 3kg, when order is created the quantity of the fish will be modified
automatically from 1 to 3 3. The shop owner will weight the actual fish, find out
it’s 3.2kg, so he will change the quantity in the order from 3 to 3.2, the total
price of the item will be updated automatically

Note: It’s recommended to use with Authorized / Delayed Payment method so the shop
owner will be able to charge the exact amount after he weights the products, the
order status should be ‘Pending payment’ / ‘delayed payment’.

#### Features

 * **Quantity Units**: Config products which are sold by units but priced by weight(
   suitable for fish store and butcher).
 * **Quantity Step**: Set decimal quantity step per product/variation- for products
   which are sold by weight (per kg/gram, suitable for supermarket, deli and bakery,
   selling fruits, vegetables, nuts).
 * **Quantity Suffix**: Set quantity suffix per product/variation.
 * **Price Quantity**: Display the price per specific quantity per product/variation.
 * **Subtotal**: Display the product price by the selected quantity in real-time.
 * **Shop Page Quantity**: Allow to choose product quantity on archive pages.

## Screenshots

[⌊Product Shipping Settings⌉⌊Product Shipping Settings⌉[

Product Shipping Settings

[⌊Purchased item as displayed to customer⌉⌊Purchased item as displayed to customer⌉[

Purchased item as displayed to customer

[⌊Purchased item as displayed to admin⌉⌊Purchased item as displayed to admin⌉[

Purchased item as displayed to admin

[⌊Product as displayed to customer⌉⌊Product as displayed to customer⌉[

Product as displayed to customer

## Installation

#### Minimum Requirements

WordPress 5.2 or greater PHP 7.0 or greater WooCommerce 3.4 or greater

#### Automatic installation

 1. Go to your Dashboard => Plugins => Add new
 2. In the search form write: Condless
 3. When the search return the result, click on the Install Now button

#### Manual Installation

 1. Download the plugin from this page clicking on the Download button
 2. Go to your Dashboard => Plugins => Add new
 3. Now select Upload Plugin button
 4. Click on Select file button and select the file you just download
 5. Click on Install Now button and the Activate Plugin

## FAQ

### How to config products which are sold by weight and not by units?

Use the ‘Quantity Step’ option, the ‘Quantity Units’ option should not be used.

### How to sell the same product by both units and weight?

Create variable product and config each variation seperately.

### Can you give an example of how to config products?

Salmon (sold by units but priced by weight): Price (General tab)- 45 (per unit),
Weight (Shipping tab)- 3 (per unit), Quantity Units (Unit Price tab)- ‘weight’.

Tomatoes (sold by weight- kg): Price (General tab)- 2 (per kg), Quantity Step (Unit
Price tab)- 0.1, Quantity Suffix (Unit Price tab)- kg.

Nuts (sold by weight- gram): Price (General tab)- 0.03 (per gram), Quantity Step(
Unit Price tab)- 100, Quantity Suffix (Unit Price tab)- gram, Price Quantity (Unit
Price tab)- 100, Price Suffix (Unit Price tab)- /100g.

### How to manage the stock?

By the units that the product is configured (kg/gram).

### Why sometimes there are many digits in the quantity field when using decimal Quantity Step?

Try using the WooCommerce built-in quantity buttons template or change to another
quantity step.

### How to fix the ‘The totals of the cart item amounts do not match order amounts’ error?

Tax: mostly the ‘Prices entered with tax’ and ‘Round tax at subtotal level’ options
should be enabled.
 Line Items: maybe prevent sending the line items to the payment
gateway. product price * product weight of products which are sold by units but 
priced by weight should not exceed 2 dp. subtotal (include tax, exclude discount)
of order line items should not exceed 2 dp (modify its quantities to fix it). A 
tool which notify about exceeding prices is available.

### Why I can’t edit the per product options?

The plugin is not compatible with the new product editor, and the new product block.

## Reviews

![](https://secure.gravatar.com/avatar/3378c1d3eac66864ec91714dbe60c830a02a7a79e00d649cab13aeacb0476753?
s=60&d=retro&r=g)

### 󠀁[Excelente!](https://wordpress.org/support/topic/excelente-3980/)󠁿

 [leoharing](https://profiles.wordpress.org/leoharing/) 22 June 2024

Muy buen plugin! Lo recomiendo para vender por peso

![](https://secure.gravatar.com/avatar/58fc43a9ca5cc704fc530aa73bfa69043dbce5414bfad578228884a5adf00d04?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-9121/)󠁿

 [donantier](https://profiles.wordpress.org/donantier/) 27 January 2024

For my works perfect.

![](https://secure.gravatar.com/avatar/574e728f11b31315b6379784f0949ed4e8b7ecd2b1dc93f7f90a2b8ec7962594?
s=60&d=retro&r=g)

### 󠀁[Good but needs a bulk editor](https://wordpress.org/support/topic/good-but-needs-a-bulk-editor/)󠁿

 [mercystark](https://profiles.wordpress.org/mercystark/) 15 October 2023 3 replies

Plugin does the job however it needs a better documentation. It would also would
be great if we could just set Quantity Unit to "Weight" by Default instead of nothing
or bulk edit all products or categories. For example set Quantity unit and suffix
in bulk.

![](https://secure.gravatar.com/avatar/a7a3cf9d4cf2c9c4afedfedf045e04771f9c6e17320af7040a00ec23239cbd67?
s=60&d=retro&r=g)

### 󠀁[The best plugin of this kind that I met!](https://wordpress.org/support/topic/the-best-plugin-of-this-kind-that-i-met/)󠁿

 [steffile](https://profiles.wordpress.org/steffile/) 21 September 2023

Solid for years now, they thought of everything.

![](https://secure.gravatar.com/avatar/4852aeb158d797b5c94aeecc105f5b5cea37f51d69907c02540f8de39bb3fcdb?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-8799/)󠁿

 [uebes](https://profiles.wordpress.org/uebes/) 10 September 2023

Perfect work. We work as a “FoodCoop” in Austria and therefore we need a shop software
which help us to sell foods. Some foods can be sell per unit (salad, milk bottle…)
and for some foods (pumpkin, sausages…) we need the possibility to order per unit
but to change the weight after delivery. Your plugin is the ideal extension to our
woocommerce shop. Thank you so much for your excellent plugin. Best regards Siegfried

![](https://secure.gravatar.com/avatar/4b22876fe08d949da04090c79d9f9b4876ed6fee0334bfa2a1e8759c2c3bcc79?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin and support](https://wordpress.org/support/topic/excellent-plugin-and-support-428/)󠁿

 [alaid](https://profiles.wordpress.org/alaid/) 26 July 2021

Congratulations on such an excellent work. I have been using another decimal quantity
plugin, but this one is very practical and its programming is excellent for loading
speed.

 [ Read all 10 reviews ](https://wordpress.org/support/plugin/unit-price-for-woocommerce/reviews/)

## Contributors and Developers

“Unit Price for WooCommerce” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ Condless ](https://profiles.wordpress.org/condless/)

“Unit Price for WooCommerce” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/unit-price-for-woocommerce/contributors)
for their contributions.

[Translate “Unit Price for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/unit-price-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/unit-price-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/unit-price-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/unit-price-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/unit-price-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Change Log

#### 1.2.7 – August 13, 2026

 * Enhancement – WooCommerce version compatibility

#### 1.2.6 – June 23, 2026

 * Enhancement – WooCommerce version compatibility

#### 1.2.5 – December 23, 2025

 * Enhancement – WooCommerce version compatibility

#### 1.2.4 – August 24, 2025

 * Enhancement – WooCommerce version compatibility

#### 1.2.3 – May 8, 2025

 * Enhancement – WordPress version compatibility

#### 1.2.2 – November 12, 2024

 * Enhancement – WordPress version compatibility

#### 1.2.1 – May 22, 2024

 * Enhancement – WooCommerce version compatibility

#### 1.2.0 – March 1, 2024

 * Enhancement – WordPress version compatibility

#### 1.1.9 – December 15, 2023

 * Enhancement – WooCommerce version compatibility

#### 1.1.8 – October 12, 2023

 * Enhancement – WooCommerce version compatibility

#### 1.1.7 – June 30, 2023

 * Enhancement – WooCommerce version compatibility

#### 1.1.6 – March 18, 2023

 * Enhancement – WooCommerce version compatibility

#### 1.1.5 – December 22, 2022

 * Enhancement – WooCommerce version compatibility

#### 1.1.4 – August 19, 2022

 * Enhancement – WooCommerce version compatibility

#### 1.1.3 – June 1, 2022

 * Enhancement – Quantity Units option for Length, width and height were removed.

#### 1.1.2 – April 10, 2022

 * Dev – Cart Items Count fix for items sold by weight
 * Fix – typo in hook filters: upw_qauntity_base_selector, upw_qauntity_base_trigger,
   upw_qauntity_on_trigger

#### 1.1.1 – February 27, 2022

 * Enhancement – WooCommerce version compatibility

#### 1.1.0 – December 25, 2021

 * Enhancement – OceanWP compatibility

#### 1.0.9 – October 20, 2021

 * Enhancement – WooCommerce version compatibility

#### 1.0.8 – July 28, 2021

 * Dev – WP Compatibility

#### 1.0.7 – June 29, 2021

 * Feature – Archive quantity filter

#### 1.0.6 – May 20, 2021

 * Feature – Price format

#### 1.0.5 – April 7, 2021

 * Feature – Price for display

#### 1.0.4 – March 12, 2021

 * Feature – Quantity suffix

#### 1.0.3 – February 03, 2021

 * Fix – Edit order with decimal quantity error

#### 1.0.2 – January 27, 2020

 * Feature – Auto update quantities

#### 1.0.1 – December 23, 2020

 * Feature – Price suffix

#### 1.0.0 – November 18, 2020

 * Initial release

## Meta

 *  Version **1.2.7**
 *  Last updated **3 months ago**
 *  Active installations **900+**
 *  WordPress version ** 5.2 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.0 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/unit-price-for-woocommerce/) and
   [Hebrew](https://he.wordpress.org/plugins/unit-price-for-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/unit-price-for-woocommerce)
 * Tags
 * [decimal](https://en-gb.wordpress.org/plugins/tags/decimal/)[unit](https://en-gb.wordpress.org/plugins/tags/unit/)
   [vegetables](https://en-gb.wordpress.org/plugins/tags/vegetables/)
 *  [Advanced View](https://en-gb.wordpress.org/plugins/unit-price-for-woocommerce/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/unit-price-for-woocommerce/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/unit-price-for-woocommerce/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/unit-price-for-woocommerce/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/unit-price-for-woocommerce/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/unit-price-for-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/unit-price-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/unit-price-for-woocommerce/reviews/)

## Contributors

 *   [ Condless ](https://profiles.wordpress.org/condless/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/unit-price-for-woocommerce/)