Linux 软件免费装
Banner图

Weight-Based Product Packs for WooCommerce

开发者 atashinbar
更新时间 2026年9月14日 04:39
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

woocommerce pack weight mix and match box builder

下载

1.1.0 1.0.0

详情介绍:

This plugin is designed for stores that sell by filling containers with a chosen combination of goods — for example nuts and dried fruits packed into pre-ordered 1 kg, 2 kg or 5 kg boxes. The customer picks a pack, then fills it with the weight bundles you define (e.g. a 100 g pistachio pack, a 200 g almond pack). The total weight must exactly match the pack capacity — the Add to Cart button stays disabled until the pack is perfectly full. Features

安装:

  1. Upload the weight-based-product-packs folder to /wp-content/plugins/.
  2. Activate "Weight-Based Product Packs for WooCommerce" on the Plugins screen.
  3. Follow the Usage steps below.

常见问题:

Why is a bundle missing from the pack builder page?

The bundle must: belong to the pack's selected category, have a weight greater than zero, be in stock and not be excluded. Variations must also be published.

Can a customer buy a partially filled pack?

No. The button is disabled client-side, and the server rejects both under-filled and over-filled packs; contents are re-validated in the cart and at checkout.

Where do prices come from?

Always from the server, using current product prices; browser-side tampering has no effect.

Is stock reduced?

Yes — after payment each bundle's stock is reduced by the ordered quantity, and restored if the order is cancelled.

Can I customize the template?

Yes — copy templates/single-product/add-to-cart/pack-builder.php to your-theme/woocommerce/single-product/add-to-cart/pack-builder.php and edit it. Styles use the wbpp-* classes.

更新日志:

1.1.0 1.0.0