Linux 软件免费装
Banner图

BoxCraft for WooCommerce

开发者 sandyparihar07
malun728
更新时间 2026年11月23日 22:50
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce product bundle custom box gift box build your own box

下载

1.0.1 1.0.2 1.0.0

详情介绍:

BoxCraft lets your customers create their own box from your WooCommerce catalogue: Pack of 6, Pack of 12 or any size you define. You decide which products are eligible and how the box is priced. Customers pick items with a fast, mobile-friendly picker, watch a live progress bar fill up and add the finished box to the cart. It suits chocolate and snack boxes, coffee and tea samplers, bakery boxes, skincare sets, wine and craft-beer packs, gift hampers, plant bundles and anything else sold in fixed quantities. Highlights For shoppers For store owners Inventory Placement Built to be trusted How it works Each box owns a hidden WooCommerce product (the "box product"). The cart and order line is that product, with a name such as "Snack Box — Pack of 6". The selected items are stored on the line and checked again on the server whenever the cart changes and at checkout. The price is always calculated on the server. Do not delete a box product: cart and order lines use it. For developers BoxCraft is built to be extended. The main hooks: Known limitations BoxCraft Pro Everything above is free, with no limits on boxes, pack sizes or products. BoxCraft Pro is a separate, paid plugin that includes everything in BoxCraft and adds: BoxCraft Pro uses the same boxes, settings and orders, so nothing needs to be set up again. When it is activated it switches this plugin off, because it already contains it. BoxCraft for WooCommerce is an independent plugin. It is not affiliated with, endorsed by or sponsored by WooCommerce or Automattic. "WooCommerce" is used only to describe the integration.

安装:

  1. Install and activate WooCommerce.
  2. Install this plugin from Plugins → Add New, or upload the boxcraft-for-woocommerce folder to /wp-content/plugins/, then activate it.
  3. Open the BoxCraft menu (below Products) and click Add box.
  4. Give the box a name (shown in the cart as "Name — Pack of 6"), then add a description and a featured image.
  5. On the Pack sizes & pricing tab add your sizes (for example 6 and 12), choose the pricing mode and pick the eligible products or categories.
  6. Click Publish. The box gets its own product page automatically; use the shortcode or the block to show it anywhere else.
  7. Visit BoxCraft → Global settings to adjust button text, messages, colours, emails and reports.

屏幕截图:

  • A box in the cart, with its contents listed and an "Edit box" link.
  • Box editor, General tab: availability, repeat selections, coupons, tax and shipping.
  • Box editor, Pack sizes & pricing tab: collapsible pack sizes with fixed or sum pricing.
  • Box editor, Storefront tab: search box, products per row and product layout.
  • Box editor, Inventory tab: stock handling and out-of-stock products.
  • Box editor, Placement tab: where else the box is shown.
  • Global settings: button text, messages and colours.
  • Reports: orders by pack size and pricing mode, and the most-selected products.

常见问题:

How does a customer build a box?

They choose a pack size, pick products until the progress bar is full (for example "6 of 6 items selected") and click Add box to cart. The button stays disabled until the box is complete.

What is the difference between the two pricing modes?

With Fixed pack price the customer always pays the price you set (for example $30 for six items), whatever they choose. With Sum of selected items the price is the total of the chosen products' current WooCommerce prices, sale prices included. Each pack size can use a different mode.

Can a customer pick the same product more than once?

Yes, while Allow repeat selections is on (the default), up to the product's available stock. Turn it off to allow each product or variation only once per box.

How do variable products work?

The customer chooses a variation (for example flavour or size) before the item counts toward the box. The variation's own price and stock are used.

Is stock reduced for the products inside the box?

Yes. When the order is placed, the stock of every selected product or variation is reduced using WooCommerce's normal stock rules. It is restored if the order is cancelled, and restocked on refunds when "Restock refunded items" is ticked. This also applies to fixed-price boxes. You can switch it off per box on the Inventory tab.

What if a product sells out or is unpublished while it is in someone's cart?

Nothing is charged silently. The cart and checkout check every box again. If something is no longer available, the customer sees a clear message with an Edit your box link and picks a replacement before checking out.

Can customers change the price by editing the page?

No. The price, item count, variations and stock are calculated and checked on the server. The numbers in the browser are only for display.

Where can customers and I see the box contents?

In the cart, checkout, order confirmation page, My Account, the admin order screen and, while Include box contents in order emails is on, in order emails.

Can I stop coupons applying to boxes?

Yes. Untick Allow coupons on the box's General tab.

How are tax and shipping handled?

Totals follow your WooCommerce tax and currency settings. Choose a tax class and a shipping class for each box on the General tab. The box ships as a single item.

Where can I show a box?

On its own automatically created product page; on other product pages, category pages or the shop page (set on the Placement tab); or anywhere with the [byob_box id="123"] shortcode or the BoxCraft box block. In block themes, add the block or the shortcode to the template or page where you want it.

Can I run a box for a limited time?

Yes. Set optional start and end dates on the General tab. Outside those dates the box is hidden.

What happens if I disable or delete a box?

Disabling a box (untick "Enabled", switch it to draft or move it to the trash) hides it on the storefront and makes its box product private. Existing orders keep their contents, and carts that still contain the box ask the customer to remove it. Please do not delete the hidden box product, because cart and order lines use it.

What happens if I deactivate or delete the plugin?

Deactivating keeps all boxes, settings and orders; orders keep their box contents as order item meta. Deleting the plugin never deletes WooCommerce orders or their box data. Box configurations and settings are removed only if Delete box configurations when the plugin is deleted is ticked under BoxCraft → Global settings, and never while BoxCraft Pro is installed. Box products are always kept, because past orders refer to them.

Does it work with block themes and the block Cart and Checkout?

Yes. BoxCraft supports the classic and the block-based Cart and Checkout, and is compatible with HPOS.

Is it accessible?

The picker supports keyboard navigation, labelled controls, screen-reader progress announcements and text labels instead of colour alone.

Can I translate it?

Yes. All text is translation-ready and uses the boxcraft-for-woocommerce text domain.

Does the plugin connect to any outside service?

No. BoxCraft sends no data anywhere. The only outside links are the links to BoxCraft Pro, which open only when you click them.

Is there a Pro version?

Yes. BoxCraft Pro adds selection rules, pricing rules and volume discounts, paid add-ons, free gifts, gift messages, saved and shared boxes, box export / import and richer reports. The free plugin has no limits and works on its own.

更新日志:

1.0.2 1.0.1 1.0.0