[WordPress] 外掛分享: BoxCraft for WooCommerce

首頁 › 外掛目錄 › BoxCraft for WooCommerce
WordPress 外掛 BoxCraft for WooCommerce 的封面圖片
全新外掛
安裝啟用
—
尚無評分
7 天前
最後更新
—
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.2 上架:2026-11-18

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「BoxCraft for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

Fixed item count: a Pack of 6 must contain exactly six items. The Add to cart button stays disabled until the box is complete.
Two pricing modes per pack size:

Fixed pack price: for example, any six items cost $30.
Sum of selected items: the box costs the total of the chosen products’ WooCommerce prices, sale prices included.

Flexible eligibility: choose products by search or by category (sub-categories included), exclude specific products and set optional per-product limits.
Repeat selections: allow several units of the same product, or only one of each product per box.
Variable products: the customer chooses a variation (size, flavour, colour) before it counts.
Live progress and total: “4 of 6 items selected”, with the price updating instantly.
Works in your cart: the box is one clear cart line with its contents listed underneath, and customers can edit it from the cart.
Server-side validation: price, item count, variations and stock are checked again on the server. Nothing the browser sends is trusted.
Matches your theme: colours follow your theme automatically (including dark themes) and the builder adapts to the space your theme gives it.

For shoppers

Responsive product picker with grid or list layout and touch-friendly controls
Search, category filter and sorting by name or price (each can be switched off)
A “Load more products” button for large catalogues
Product images, descriptions, prices and stock status (“In stock”, “Only 3 left”, “Out of stock”)
Quantity steppers and add / remove buttons
Live progress bar and price summary: a sticky bar, a side panel or above the products
Clear messages such as “Select 2 more items to complete your box”
Edit a box from the cart, with the previous selection restored and checked again
Box contents shown in the cart, checkout, order confirmation, My Account and emails

For store owners

As many boxes as you like, each with several pack sizes and an optional label per size
Collapsible pack-size sections with a one-line summary, plus Expand all / Collapse all
A pricing summary preview for every pack size
Eligible products and categories, excluded products and per-product maximums for each pack size
Availability dates: a start and end date for seasonal boxes
Coupon control: allow or block coupons per box
Tax class and shipping class per box, following your WooCommerce tax settings
Show or hide product images, descriptions and prices in the picker
Picker layout: grid or list, products per row, products shown before “Load more”, and where the box summary sits
Your own button text (Add to cart and Update), messages (items still needed, too many items, box complete, not enough stock) and colours: match the theme, light, dark or your own accent colour, per box or for all boxes
List a box in the shop catalogue like any other product
Basic reports for the last 7, 30 or 90 days or 12 months: orders with boxes, boxes sold, the most chosen product, orders by pack size and pricing mode, and the most-selected products

Inventory

Stock is checked whenever a box is added, edited or its quantity changes
The stock of the chosen products is reduced when an order is placed, restored when it is cancelled, and restocked on refunds when “Restock refunded items” is ticked
Hide out-of-stock products or show them as unavailable; out-of-stock items can never be added to a box
Stock is tracked for fixed-price boxes too

Placement

An automatic product page for every box
Show a box on other product pages, on chosen category pages or on the shop page
The [byob_box id="123"] shortcode
The “BoxCraft box” block

Built to be trusted

Compatible with HPOS (High-Performance Order Storage)
Works with the classic and the block-based Cart and Checkout
Accessible: keyboard navigation, screen-reader announcements and text labels (never colour alone)
Translation-ready; follows your site’s language, currency and decimal settings
Capability checks and nonces on every admin action; input sanitised, output escaped and queries prepared
Uninstalling never deletes WooCommerce orders

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:

Box editor: byob_box_tabs, byob_box_panel_after_general, byob_box_panel_after_sizes, byob_box_panel_after_display, byob_box_panel_after_inventory, byob_box_panel_after_placement, byob_box_info, byob_box_saved and byob_admin_enqueue.
Validation and price: byob_sanitize_extra, byob_evaluation and byob_quote_response.
Storefront: byob_frontend_config and byob_product_data.
Cart and orders: byob_added_to_cart, byob_cart_line_price, byob_cart_item_data_rows, byob_cart_line_demand and byob_order_item_saved.
Global settings and reports: byob_settings_sections, byob_settings_sanitize, byob_settings_after_form, byob_report_item, byob_report_data and byob_reports_after.

Known limitations

WooCommerce cannot block a fixed whole-cart coupon for a single line. With “Allow coupons” off, WooCommerce does not apply coupons to the box line (percentage and fixed-product discounts, and the box’s share of fixed-cart discounts).
In the Cart block, the “Edit box” link is clickable only in themes and versions that allow links in item data. The classic cart and the cart notices always show a clickable link.
Block themes do not run classic product hooks. On its own product page the box replaces the Add to Cart block; other placements need the block or the shortcode.
All pack sizes of a box share the box’s tax class and shipping class.

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:

Selection rules: “at least 1 vegan item”, “at most 4 drinks”, “if X then also Y”, “X and Y never together”
Pricing rules and volume discounts, for example 10% off the 12-item box, with a live price breakdown
Paid add-ons, automatic free gifts and custom fields such as a gift message
Saved and shared boxes, “remember my box” and product badges
Duplicate, export and import boxes
Richer reports with sales, average box value and a CSV download

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.

延伸相關外掛

文章
Filter
Mastodon