[WordPress] 外掛分享: Shipping Rules Builder for WooCommerce

首頁 › 外掛目錄 › Shipping Rules Builder for WooCommerce
WordPress 外掛 Shipping Rules Builder for WooCommerce 的封面圖片
全新外掛
安裝啟用
—
尚無評分
16 天前
最後更新
—
問題解決
WordPress 6.4+ PHP 7.4+ v1.0.1 上架:2026-09-25

內容簡介

Shipping Rules Builder for WooCommerce 外掛可讓使用者根據自訂規則建立運費,並在上線前進行測試。此外掛提供直觀的規則建構介面,並即時顯示運費計算的條件與結果,幫助商家精確設定運費策略。

【主要功能】
• 自訂運費規則,支持多種條件組合
• 即時測試購物車,顯示運費計算過程
• 支援免費運送設定,並可自訂標籤
• 提供撤銷/重做功能,方便編輯規則
• 進階版外掛可擴充更多條件與功能

外掛標籤

開發者團隊

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

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

原文外掛簡介

Build shipping rates from rules, and test them before they go live. The settings page is split in two: the rule builder on the left, a test cart on the right that re-evaluates your unsaved rules on every keystroke and shows exactly which condition passed or failed and how the cost was built.
Conditions

Cart subtotal (incl./excl. tax, before/after coupons), weight, item quantity, distinct products
Shipping class – cart includes any / only contains / includes none
Day of week

Rules

Any number of rules; conditions combine with all / any
Cost = base + any number of per-unit costs (per N kg / items / currency, optionally only above a threshold, rounded up / down / exact), with a per-rule minimum and maximum
Enable/disable, duplicate, drag to reorder, “stop after this rule matches”
Undo / redo (Ctrl+Z), 9 rule templates in a searchable gallery, import / export as JSON
Rule checks: unreachable rules, inverted ranges, empty selections, gaps and overlaps between range rules

Free shipping

Free from a subtotal threshold, honour free-shipping coupons, custom label when free, optionally hide the other methods
“Add X more for free shipping” progress bar (or text) on the classic and block cart / checkout, updating live

Testing & debugging

Test cart with real products (search by name or SKU), quantities and date & time
Verdict, cart figures, per-condition pass/fail trace, full cost arithmetic, MATCH / NO MATCH badges on the rule cards
Storefront debug trace for shop managers only (classic and block)

Pro add-on
Pro is a separate add-on plugin. It adds 24 more conditions (postcode, city, state, products, categories, attributes, customers, payment method, coupon codes, dates, sizes), item-scoped figures, alternative (OR) condition groups, tier tables, formulas and percentage costs, rule actions (withdraw the method, rename it, delivery estimates, customer notices, hide other methods), lowest / highest / first-match combining, method minimum / maximum, saved test scenarios, load-a-real-order, a zone view, revisions, copy to zone and 26 more templates.
Everything you build in the free plugin keeps working when you add Pro. If Pro is deactivated later, rules that depend on it are kept unchanged and skipped (never silently altered) until it is active again.
For developers
The plugin is extensible without touching its files:

PHP filters: wbsfs_conditions, wbsfs_sanitize_condition, wbsfs_sanitize_rule, wbsfs_sanitize_cost, wbsfs_rule_cost, wbsfs_rule_effects, wbsfs_engine_matched, wbsfs_engine_combine, wbsfs_engine_final, wbsfs_form_fields, wbsfs_lint, wbsfs_extras_html, wbsfs_admin_data, wbsfs_preview_result, and more. A condition definition may carry its own evaluate callback.
JavaScript: wp.hooks filters and actions named wbsfs.*, plus helpers on window.WBSFS_API. Add-on scripts depend on the wbsfs-admin handle; the editor boots on DOM ready, after they registered.

延伸相關外掛

文章
Filter
Mastodon