Linux 软件免费装
Banner图

LIOSFERA Product Units

开发者 liosfera
更新时间 2026年11月7日 01:01
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce price quantity weight measurements

下载

1.1.0

详情介绍:

Sell simple WooCommerce products in the units customers actually need: kg or g by weight, m or cm by length, m² by area, m³ or liters by volume, and pieces. Set a minimum, optional maximum, and quantity step with up to four decimal places. Customers choose their quantity, while server-side validation and native WooCommerce handle prices, stock, taxes, shipping, coupons, refunds, and checkout. You can also sell flooring or similar goods in complete boxes. For a product sold by the piece (pcs), set coverage in m² per box. A buyer can enter the area they need; the quantity rounds UP to whole boxes. Prices and stock remain per physical box, not per m². The requested area is used for calculation only and is not stored as an exact order request. Free features: Documentation and support

安装:

  1. Back up your store and test on a staging copy. Install and activate WooCommerce 11.2 or newer.
  2. Upload the LIOSFERA Product Units ZIP through Plugins > Add New > Upload Plugin and activate it.
  3. Edit a simple WooCommerce product. In Product data > General, enable LIOSFERA Product Units.
  4. Choose the unit, set minimum, optional maximum (0 = unlimited) and step; save the product.
  5. Enter the native WooCommerce price per selected unit, and stock in that same unit. Set shipping weight separately using WooCommerce's standard shipping fields.
To sell complete boxes by area, choose unit pcs, minimum at least 1, and step 1; enter positive coverage per box in m² (up to four decimals). Set WooCommerce price and stock PER BOX. Example: a box covers 1.23 m². For 2.46 m² the customer needs 2 boxes; for 2.47 m², 3 boxes. Cart and order records include actual coverage but do not retain the originally requested area. If you already use the legacy LIO Product Units plugin, do NOT activate both variants simultaneously. Back up first, deactivate the old plugin, install and activate LIOSFERA Product Units, then verify your products and carts. Existing _lio_pu_* product settings and stock remain unchanged. Do not enable the old plugin's opt-in removal of data during migration. This is a changed plugin directory/slug, not an automatic in-place WordPress.org upgrade.

屏幕截图:

  • Mobile WooCommerce Cart Block displaying 1.25 kg, sale-unit metadata and line total.
  • Mobile Checkout Block displaying fractional quantities and the order total.
  • Desktop product detail showing a kilogram quantity of 1.25 and an updated estimated total.
  • Desktop flooring example where 3.69 m² requires three whole boxes at 1.23 m² per box.

升级注意事项:

1.1.0 Whole-box coverage and accessible quantity controls. Install the renamed LIOSFERA Product Units plugin only after deactivating the legacy LIO Product Units build; existing product settings are preserved by default.

常见问题:

Are price estimates authoritative?

No. The browser estimate is for convenience. WooCommerce recalculates and validates prices, quantities, discounts, tax, shipping and stock on the server.

Can I use variable products or bundles?

No. The Free 1.1.0 feature applies to simple products only. Existing variable products remain handled by WooCommerce.

Can I switch a product from kg to g without changing its price?

No. The plugin never automatically converts existing catalog prices, stock or shipping weights. Update these manually when changing units.

How does whole-box coverage work?

Only complete boxes are sold, with unit pcs, minimum whole quantity and step 1. A request of 2.47 m² for 1.23 m²/box yields 3 boxes, not a fractional quantity. Actual covered m² is shown on cart and saved as per-box order metadata for consistency during order edits and refunds.

What if the configured price, unit, step or coverage changes after a cart item is added?

Outdated cart entries are rejected and an explanation prompts the customer to add the product again using current catalog terms. The plugin does not silently reuse outdated prices or terms.

Does this plugin transfer customer information to LIOSFERA?

No. It does not contact a LIOSFERA cloud service or send tracking data. Quantity configurations and unit metadata are stored in the shop's own WooCommerce/WordPress database.

Is it compatible with all quantity or inventory extensions?

No. WP Desk Flexible Quantity 2.3.24 is a known conflict with fractional Store API sales. Basic compatibility with ATUM Inventory Management and Weight Based Shipping was tested in isolation; advanced operations and other third-party configurations are not universally verified.

What happens to product data when I uninstall?

Product settings are kept by default. An explicit WooCommerce > Product Units preference can remove the plugin's own product settings on uninstall; historical order data is retained. Do not choose this option when merely migrating from the legacy plugin name.

更新日志:

1.1.0 1.0.1 1.0.0