Title: Shipping Rules Builder for WooCommerce
Author: webangon
Published: <strong>26 Tháng 9, 2026</strong>
Last modified: 29 Tháng 9, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/webangon-shipping-rules/assets/banner-772x250.png?rev=3714331)

![](https://ps.w.org/webangon-shipping-rules/assets/icon-256x256.gif?rev=3714331)

# Shipping Rules Builder for WooCommerce

 Bởi [webangon](https://profiles.wordpress.org/webangon/)

[Tải về](https://downloads.wordpress.org/plugin/webangon-shipping-rules.1.0.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/webangon-shipping-rules/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/webangon-shipping-rules/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/webangon-shipping-rules/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/webangon-shipping-rules/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/webangon-shipping-rules/)

## Mô tả

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.

## Ảnh màn hình

[⌊Split-screen rule editor: rules on the left, a live test cart on the right with
the resulting shipping cost and free-shipping progress.⌉⌊Split-screen rule editor:
rules on the left, a live test cart on the right with the resulting shipping cost
and free-shipping progress.⌉[

Split-screen rule editor: rules on the left, a live test cart on the right with 
the resulting shipping cost and free-shipping progress.

[⌊Test cart trace: every condition passed or failed, and the full cost arithmetic
for the matching rule.⌉⌊Test cart trace: every condition passed or failed, and the
full cost arithmetic for the matching rule.⌉[

Test cart trace: every condition passed or failed, and the full cost arithmetic 
for the matching rule.

[⌊Searchable rule template gallery.⌉⌊Searchable rule template gallery.⌉[

Searchable rule template gallery.

[⌊"Add $X more for free shipping" progress bar on the cart.⌉⌊"Add $X more for free
shipping" progress bar on the cart.⌉[

“Add $X more for free shipping” progress bar on the cart.

## Cài đặt

 1. Upload the folder to `wp-content/plugins/` and activate. WooCommerce must be active.
 2. WooCommerce  Settings  Shipping  open a zone  Add shipping method  **WBS Flexible
    Shipping**.
 3. Click the method to open the split editor. Add rules on the left, test on the right,
    Save.

## Hỏi đáp

### Why do I not see the method on the cart?

Rules only run for customers the shipping zone matches, and the method is only offered
when at least one cost rule matches (or free shipping applies). Turn on “Storefront
debug” in the Settings tab to see the trace on the cart as a shop manager.

### What happens to my rules if I deactivate the Pro add-on?

Rules that use Pro features are skipped and shown as “switched off” in the editor.
Their data is kept exactly as it was, even if you save in the meantime, and they
work again when Pro is active.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Shipping Rules Builder for WooCommerce” là mã nguồn mở. Những người sau đã đóng
góp vào plugin này.

Những người đóng góp

 *   [ webangon ](https://profiles.wordpress.org/webangon/)

[Dịch “Shipping Rules Builder for WooCommerce” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/webangon-shipping-rules)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/webangon-shipping-rules/),
check out [SVN repository](https://plugins.svn.wordpress.org/webangon-shipping-rules/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/webangon-shipping-rules/)
qua [RSS](https://plugins.trac.wordpress.org/log/webangon-shipping-rules/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.1

 * Improvements and fixes.

#### 1.0.0

 * Initial release: split-screen rule builder with live test cart, cart subtotal/
   weight / quantity / shipping class / day-of-week conditions, per-unit costs, 
   free shipping with progress bar (classic and block cart), rule checks, templates,
   import / export and developer hooks.

## Meta

 *  Phiên bản **1.0.1**
 *  Cập nhật lần cuối **6 ngày trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 6.4 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.1.2**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/webangon-shipping-rules/)
 * Thẻ
 * [conditional shipping](https://vi.wordpress.org/plugins/tags/conditional-shipping/)
   [shipping](https://vi.wordpress.org/plugins/tags/shipping/)[table rate](https://vi.wordpress.org/plugins/tags/table-rate/)
   [weight based shipping](https://vi.wordpress.org/plugins/tags/weight-based-shipping/)
   [woocommerce](https://vi.wordpress.org/plugins/tags/woocommerce/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/webangon-shipping-rules/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/webangon-shipping-rules/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/webangon-shipping-rules/reviews/)

## Những người đóng góp

 *   [ webangon ](https://profiles.wordpress.org/webangon/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/webangon-shipping-rules/)