BACK TO DIRECTORY

Smart Units for WooCommerce

by Hooman Ostadmehri

5.0
(1 ratings)

By default, WooCommerce lets customers choose only a whole number of items (1, 2, 3…). Smart Units for WooCommerce lets you sell products by weight, volume or length, and decide the interval between the quantities a customer can choose.

Examples

  • Fruit sold in kilograms, in steps of 0.5 kg.
  • Saffron sold in grams, in steps of 1 g.
  • Milk sold in milliliters, in steps of 250 mL.
  • Fabric sold in meters, in steps of 0.5 m, with 10 meters in stock.

What is included

  • Built-in units: piece, gram, kilogram, liter, milliliter, meter and centimeter.
  • A custom step, minimum quantity and maximum quantity for every product.
  • Stock managed in the same unit. When the total purchased reaches the stock, or the remaining stock is below the minimum order quantity, the product becomes out of stock.
  • Server-side validation when adding to the cart and when updating the cart.
  • The unit is shown next to the quantity field, next to the price, in the cart, at checkout, in orders and in emails.
  • The unit used is saved with each order, so old orders do not change if you change a product later.

Plugin Details

Active Installs
0
Total Downloads
68
Version
1.0.0
Requires WP
5.8
Requires PHP
7.2
Tested Up To
7.1.4
Added
2026-10-27
Last Updated
2026-10-27 7:37am GMT

Ratings

5
1
4
0
3
0
2
0
1
0