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 units from the item he needs
  2. On order creation the item quantity is recalculated based on its weight
  3. The shop owner will be able to modify the quantity of it from the edit order screen after he weight 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

常見問題

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

Nuts (sold by weight- gram): Price (General tab)- 0.03 (per gram), Quantity Step (Unit Price tab)- 100, Quantity Suffix- gram, Price Quantity- 100, Price Suffix- /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.

評價

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.
2021年3月24日
This plugin is really amazing, a long time ago I thought about how to do to sell fractional products in bulk and I didn't know how to do it. searching I found this plugin, and after some tests, it worked perfectly. Congratulations on the excellent work and quality.
2021年3月19日
I love this plugin. It works perfectly for what I need, and amazing feature that you can add custom suffix to products. Also had a request for support that they helped me with very quickly, it was solved in less than a day. Highly recommend!
閱讀全部5個評價

貢獻者及開發者

“Unit Price for WooCommerce” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Unit Price for WooCommerce 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Unit Price for WooCommerce 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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