Linux 软件免费装
Banner图

Smart Units for WooCommerce

开发者 hoomanostadmehri
更新时间 2026年10月27日 17:40
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce quantity unit weight decimal

下载

1.0.0

详情介绍:

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 What is included

安装:

  1. Install and activate WooCommerce.
  2. Upload the plugin folder to /wp-content/plugins/, or install it from the Plugins screen, and activate it.
  3. Edit a product, open the General tab and tick "Sell by unit".
  4. Choose the unit, step, minimum and maximum quantity. Enter the price of ONE unit.
  5. In the Inventory tab, enable stock management and enter the stock in the same unit.

升级注意事项:

1.0.0 First release.

常见问题:

Does it work with the WooCommerce Cart and Checkout blocks?

No. The blocks only accept whole-number quantities. Use the classic cart and checkout pages (the [woocommerce_cart] and [woocommerce_checkout] shortcodes).

Does it work with variable products?

The unit settings are set on the parent product and apply to all variations. Stock of each variation is in the same unit.

What happens to normal products?

Products without "Sell by unit" behave as before and accept whole numbers only.

What happens to my data if I deactivate or delete the plugin?

Product settings are kept, so nothing is lost if you reinstall or move to another version.

更新日志:

1.0.0