{"id":132321,"date":"2020-11-26T07:17:01","date_gmt":"2020-11-26T07:17:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/unit-price-for-woocommerce\/"},"modified":"2025-12-23T07:34:40","modified_gmt":"2025-12-23T07:34:40","slug":"unit-price-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/unit-price-for-woocommerce\/","author":17578689,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.5","stable_tag":"1.2.5","tested":"6.9.4","requires":"5.2","requires_php":"7.0","requires_plugins":null,"header_name":"Unit Price for WooCommerce","header_author":"Condless","header_description":"WooCommerce plugin that let you sell products which are sold by units but charged by weight.","assets_banners_color":"dfe5ec","last_updated":"2025-12-23 07:34:40","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/en.condless.com\/unit-price-for-woocommerce\/","header_author_uri":"https:\/\/en.condless.com\/","rating":4.8,"author_block_rating":0,"active_installs":1000,"downloads":23544,"num_ratings":10,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.1":{"tag":"1.2.1","author":"condless","date":"2024-11-12 14:41:12"},"1.2.2":{"tag":"1.2.2","author":"condless","date":"2024-11-12 14:41:12"},"1.2.3":{"tag":"1.2.3","author":"condless","date":"2025-05-08 10:27:47"},"1.2.4":{"tag":"1.2.4","author":"condless","date":"2025-08-24 08:45:48"},"1.2.5":{"tag":"1.2.5","author":"condless","date":"2025-12-23 07:34:40"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":1,"4":0,"5":9},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2426309,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2708022,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.1","1.2.2","1.2.3","1.2.4","1.2.5"],"block_files":[],"assets_screenshots":{"screenshot-1.PNG":{"filename":"screenshot-1.PNG","revision":2426309,"resolution":"1","location":"assets","locale":""},"screenshot-2.PNG":{"filename":"screenshot-2.PNG","revision":2426309,"resolution":"2","location":"assets","locale":""},"screenshot-3.PNG":{"filename":"screenshot-3.PNG","revision":2426309,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2708022,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Product Shipping Settings","2":"Purchased item as displayed to customer","3":"Purchased item as displayed to admin","4":"Product as displayed to customer"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[196067,64882,22279,907],"plugin_category":[],"plugin_contributors":[184227],"plugin_business_model":[],"class_list":["post-132321","plugin","type-plugin","status-publish","hentry","plugin_tags-decimal","plugin_tags-kg","plugin_tags-unit","plugin_tags-vegetables","plugin_contributors-condless","plugin_committers-condless"],"banners":{"banner":"https:\/\/ps.w.org\/unit-price-for-woocommerce\/assets\/banner-772x250.jpg?rev=2708022","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/unit-price-for-woocommerce\/assets\/icon-256x256.png?rev=2426309","icon_2x":"https:\/\/ps.w.org\/unit-price-for-woocommerce\/assets\/icon-256x256.png?rev=2426309","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/unit-price-for-woocommerce\/assets\/screenshot-1.PNG?rev=2426309","caption":"Product Shipping Settings"},{"src":"https:\/\/ps.w.org\/unit-price-for-woocommerce\/assets\/screenshot-2.PNG?rev=2426309","caption":"Purchased item as displayed to customer"},{"src":"https:\/\/ps.w.org\/unit-price-for-woocommerce\/assets\/screenshot-3.PNG?rev=2426309","caption":"Purchased item as displayed to admin"},{"src":"https:\/\/ps.w.org\/unit-price-for-woocommerce\/assets\/screenshot-4.png?rev=2708022","caption":"Product as displayed to customer"}],"raw_content":"<!--section=description-->\n<p>WooCommerce plugin for configuring products which are sold by units but priced by weight.<\/p>\n\n<p><a href=\"https:\/\/en.condless.com\/unit-price-for-woocommerce\/\">Documentation<\/a> | <a href=\"https:\/\/en.condless.com\/contact\/\">Contact<\/a><\/p>\n\n<p>For example: fish, watermelon, cabbage.<\/p>\n\n<h4>How To define products which are sold by units but priced by weight<\/h4>\n\n<ol>\n<li>In the plugin settings enable the 'Quantity Units' option<\/li>\n<li>Go to the edit product screen<\/li>\n<li>Set the price of 1 unit of the product in the price field (General tab)<\/li>\n<li>Set the weight of 1 unit of the product in the weight field (Shipping tab)<\/li>\n<li>Select 'Weight' in the 'Quantity Units' option (Unit Price tab)<\/li>\n<\/ol>\n\n<h4>How It Works<\/h4>\n\n<ol>\n<li>The customer choose how many items he needs from the product<\/li>\n<li>On order creation the item quantity is recalculated based on its weight<\/li>\n<li>The shop owner will be able to update the quantity of it from the edit order screen after he weighs the item<\/li>\n<\/ol>\n\n<p>For example:\n1. The customer purchased 1 Salmon fish\n2. 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\n3. 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<\/p>\n\n<p>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'.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Quantity Units<\/strong>: Config products which are sold by units but priced by weight (suitable for fish store and butcher).<\/li>\n<li><strong>Quantity Step<\/strong>: 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).<\/li>\n<li><strong>Quantity Suffix<\/strong>: Set quantity suffix per product\/variation.<\/li>\n<li><strong>Price Quantity<\/strong>: Display the price per specific quantity per product\/variation.<\/li>\n<li><strong>Subtotal<\/strong>: Display the product price by the selected quantity in real-time.<\/li>\n<li><strong>Shop Page Quantity<\/strong>: Allow to choose product quantity on archive pages.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Minimum Requirements<\/h4>\n\n<p>WordPress 5.2 or greater\nPHP 7.0 or greater\nWooCommerce 3.4 or greater<\/p>\n\n<h4>Automatic installation<\/h4>\n\n<ol>\n<li>Go to your Dashboard =&gt; Plugins =&gt; Add new<\/li>\n<li>In the search form write: Condless<\/li>\n<li>When the search return the result, click on the Install Now button<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin from this page clicking on the Download button<\/li>\n<li>Go to your Dashboard =&gt; Plugins =&gt; Add new<\/li>\n<li>Now select Upload Plugin button<\/li>\n<li>Click on Select file button and select the file you just download<\/li>\n<li>Click on Install Now button and the Activate Plugin<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20config%20products%20which%20are%20sold%20by%20weight%20and%20not%20by%20units%3F'><h3>How to config products which are sold by weight and not by units?<\/h3><\/dt>\n<dd><p>Use the 'Quantity Step' option, the 'Quantity Units' option should not be used.<\/p><\/dd>\n<dt id='how%20to%20sell%20the%20same%20product%20by%20both%20units%20and%20weight%3F'><h3>How to sell the same product by both units and weight?<\/h3><\/dt>\n<dd><p>Create variable product and config each variation seperately.<\/p><\/dd>\n<dt id='can%20you%20give%20an%20example%20of%20how%20to%20config%20products%3F'><h3>Can you give an example of how to config products?<\/h3><\/dt>\n<dd><p>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'.<\/p>\n\n<p>Tomatoes (sold by weight- kg): Price (General tab)- 2 (per kg), Quantity Step (Unit Price tab)- 0.1, Quantity Suffix (Unit Price tab)- kg.<\/p>\n\n<p>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.<\/p><\/dd>\n<dt id='how%20to%20manage%20the%20stock%3F'><h3>How to manage the stock?<\/h3><\/dt>\n<dd><p>By the units that the product is configured (kg\/gram).<\/p><\/dd>\n<dt id='why%20sometimes%20there%20are%20many%20digits%20in%20the%20quantity%20field%20when%20using%20decimal%20quantity%20step%3F'><h3>Why sometimes there are many digits in the quantity field when using decimal Quantity Step?<\/h3><\/dt>\n<dd><p>Try using the WooCommerce built-in quantity buttons template or change to another quantity step.<\/p><\/dd>\n<dt id='how%20to%20fix%20the%20%27the%20totals%20of%20the%20cart%20item%20amounts%20do%20not%20match%20order%20amounts%27%20error%3F'><h3>How to fix the 'The totals of the cart item amounts do not match order amounts' error?<\/h3><\/dt>\n<dd><p>Tax: mostly the 'Prices entered with tax' and 'Round tax at subtotal level' options should be enabled.\nLine Items: maybe prevent sending the line items to the payment gateway.\nproduct price * product weight of products which are sold by units but priced by weight should not exceed 2 dp.\nsubtotal (include tax, exclude discount) of order line items should not exceed 2 dp (modify its quantities to fix it).\nA tool which notify about exceeding prices is available.<\/p><\/dd>\n<dt id='why%20i%20can%27t%20edit%20the%20per%20product%20options%3F'><h3>Why I can't edit the per product options?<\/h3><\/dt>\n<dd><p>The plugin is not compatible with the new product editor, and the new product block.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.5 - December 23, 2025<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.2.4 - August 24, 2025<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.2.3 - May 8, 2025<\/h4>\n\n<ul>\n<li>Enhancement - WordPress version compatibility<\/li>\n<\/ul>\n\n<h4>1.2.2 - November 12, 2024<\/h4>\n\n<ul>\n<li>Enhancement - WordPress version compatibility<\/li>\n<\/ul>\n\n<h4>1.2.1 - May 22, 2024<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.2 - March 1, 2024<\/h4>\n\n<ul>\n<li>Enhancement - WordPress version compatibility<\/li>\n<\/ul>\n\n<h4>1.1.9 - December 15, 2023<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.1.8 - October 12, 2023<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.1.7 - June 30, 2023<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.1.6 - March 18, 2023<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.1.5 - December 22, 2022<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.1.4 - August 19, 2022<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.1.3 - June 1, 2022<\/h4>\n\n<ul>\n<li>Enhancement - Quantity Units option for Length, width and height were removed.<\/li>\n<\/ul>\n\n<h4>1.1.2 - April 10, 2022<\/h4>\n\n<ul>\n<li>Dev - Cart Items Count fix for items sold by weight<\/li>\n<li>Fix - typo in hook filters: upw_qauntity_base_selector, upw_qauntity_base_trigger, upw_qauntity_on_trigger<\/li>\n<\/ul>\n\n<h4>1.1.1 - February 27, 2022<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.1 - December 25, 2021<\/h4>\n\n<ul>\n<li>Enhancement - OceanWP compatibility<\/li>\n<\/ul>\n\n<h4>1.0.9 - October 20, 2021<\/h4>\n\n<ul>\n<li>Enhancement - WooCommerce version compatibility<\/li>\n<\/ul>\n\n<h4>1.0.8 - July 28, 2021<\/h4>\n\n<ul>\n<li>Dev - WP Compatibility<\/li>\n<\/ul>\n\n<h4>1.0.7 - June 29, 2021<\/h4>\n\n<ul>\n<li>Feature - Archive quantity filter<\/li>\n<\/ul>\n\n<h4>1.0.6 - May 20, 2021<\/h4>\n\n<ul>\n<li>Feature - Price format<\/li>\n<\/ul>\n\n<h4>1.0.5 - April 7, 2021<\/h4>\n\n<ul>\n<li>Feature - Price for display<\/li>\n<\/ul>\n\n<h4>1.0.4 - March 12, 2021<\/h4>\n\n<ul>\n<li>Feature - Quantity suffix<\/li>\n<\/ul>\n\n<h4>1.0.3 - February 03, 2021<\/h4>\n\n<ul>\n<li>Fix - Edit order with decimal quantity error<\/li>\n<\/ul>\n\n<h4>1.0.2 - January 27, 2020<\/h4>\n\n<ul>\n<li>Feature - Auto update quantities<\/li>\n<\/ul>\n\n<h4>1.0.1 - December 23, 2020<\/h4>\n\n<ul>\n<li>Feature - Price suffix<\/li>\n<\/ul>\n\n<h4>1.0 - November 18, 2020<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"WooCommerce plugin for configuring products which are sold by units but priced by weight.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/132321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=132321"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/condless"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=132321"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=132321"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=132321"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=132321"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=132321"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=132321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}