Unit Price for WooCommerce

ཞིབ་བརྗོད།

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

Documentation | 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.

གཏུབ་རེིས།

  • Product Shipping Settings
  • Purchased item as displayed to customer
  • Purchased item as displayed to admin
  • Product as displayed to customer

སྒྲིག་འཇུག

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.

གདེང་འཇོག

2024 ལོའི་ཟླ 6 ཚེས 22 ཉིན།
Muy buen plugin! Lo recomiendo para vender por peso
2024 ལོའི་ཟླ 1 ཚེས 27 ཉིན།
For my works perfect.
2023 ལོའི་ཟླ 10 ཚེས 15 ཉིན། 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.
2023 ལོའི་ཟླ 9 ཚེས 10 ཉིན།
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
2021 ལོའི་ཟླ 7 ཚེས 26 ཉིན།
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.
གདེང་འཇོག 10 ཡོངས་སུ་ཀློག

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

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

བྱས་རྗེས་འཇོག་མཁན།

“Unit Price for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.

ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Unit Price for WooCommerce” ཡིག་སྒྱུར་བྱོས།

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

དག་བཅོས་ཉིན་ཐོ།

1.2.1 – May 22, 2024

  • Enhancement – WooCommerce version compatibility

1.2 – 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 – 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 – November 18, 2020

  • Initial release