
Smart Units for WooCommerce
v1.0.0Hooman Ostadmehri · 2026年10月27日 上架
Sell WooCommerce products by weight, volume or length (g, kg, L, mL, m, cm) with a custom step, minimum and maximum quantity, and decimal stock.
- 正在使用
- 10 以下
- 评分
- 5.0 / 5
- 累计下载
- 179
- 最近更新
- 2026年10月27日
1 条评价需要 WordPress 5.8+已测试到 7.1.5PHP 7.2+
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.