Title: RuleHook: Advanced Shipping Rules for WooCommerce
Author: RuleHook Support
Published: <strong>2025 年 11 月 1 日</strong>
Last modified: 2025 年 12 月 14 日

---

搜索插件

![](https://ps.w.org/rulehook-connector/assets/banner-772x250.png?rev=3388067)

![](https://ps.w.org/rulehook-connector/assets/icon-128x128.png?rev=3388059)

# RuleHook: Advanced Shipping Rules for WooCommerce

 作者：[RuleHook Support](https://profiles.wordpress.org/rulehook/)

[下载](https://downloads.wordpress.org/plugin/rulehook-connector.1.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/rulehook-connector/#description)
 * [评价](https://cn.wordpress.org/plugins/rulehook-connector/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/rulehook-connector/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/rulehook-connector/#developers)

 [支持](https://wordpress.org/support/plugin/rulehook-connector/)

## 描述

**RuleHook Connector** seamlessly integrates WooCommerce with [RuleHook](https://rulehook.com),
a SaaS platform that gives you precise control over shipping logic.

Out of the box, WooCommerce shipping rules are limited. With RuleHook, you can define**
unlimited conditions and actions** to tailor shipping methods to your exact business
needs.

Examples of what you can do:
 – Offer _Free Shipping_ for orders over $100 **except**
bulky items. – Apply different rates based on _weight brackets, volume, or dimensions_.–
Restrict certain methods for specific _countries, states, or zip codes_. – Add handling
fees or surcharges dynamically. – Show or hide methods depending on _user role, 
product category, or cart contents_.

If WooCommerce shipping zones frustrate you, RuleHook Connector unlocks the flexibility
you need — without hacks or bloated plugins.

### Features

– Full integration with RuleHook SaaS.
 – Unlimited shipping rules with AND/OR logic.–
Supports weight, subtotal, dimensions, quantity, product tags, categories, attributes,
user roles, locations, and more. – Fine-grained control: show, hide, rename, or 
adjust shipping methods dynamically. – Fast evaluation engine built for scale. –
Works with existing WooCommerce shipping zones.

👉 Learn more and create your first rules at [RuleHook.com](https://rulehook.com/?utm_source=wordpress&utm_medium=plugin&utm_campaign=readme_link)

### Integration & Source Code

This plugin connects your WooCommerce store to the RuleHook platform (https://rulehook.
com), a service that provides dynamic shipping rate logic based on custom conditions
and rules.

When connected, the plugin communicates with the RuleHook API to:
 – Authenticate
your WooCommerce store. – Sync shipping zones, shipping methods, and order/cart 
data when evaluating rules. – Retrieve calculated shipping rates that match your
configured rules on the RuleHook dashboard.

**Data Sent**

The plugin may send the following data to the RuleHook API during operation:
 – 
Store URL and store name (for identification) – Shipping zones, methods, and related
settings – Destination country, state, postcode, and cart details (for rate calculation)–
API credentials generated during the “Authorize This Site” process

No customer personal data (such as names, email addresses, or phone numbers) is 
transmitted.

**Purpose**

This data exchange is required for the plugin to calculate and display dynamic shipping
rates in WooCommerce based on your rules defined in RuleHook.

**Service Provider**

The external service is provided by **RuleHook**

 * [Terms of Service](https://rulehook.com/terms-of-service)
 * [Privacy Policy](https://rulehook.com/privacy-policy)

**Source Code**

The full source code for this plugin, including unminified JavaScript and CSS files,
is publicly available on GitHub:
 https://github.com/wsenjer/rulehook-connector/

## 屏幕截图

[⌊RuleHook dashboard with rule editor.⌉⌊RuleHook dashboard with rule editor.⌉[

RuleHook dashboard with rule editor.

[⌊Example of dynamic shipping rates at checkout.⌉⌊Example of dynamic shipping rates
at checkout.⌉[

Example of dynamic shipping rates at checkout.

## 安装

 1. Upload the `rulehook` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the _Plugins_ menu in WordPress.
 3. Go to **WooCommerce  Settings  Shipping  RuleHook**.
 4. Connect your store to [RuleHook](https://rulehook.com) and start creating rules.

## 常见问题

### Do I need a RuleHook account?

Yes. The plugin connects your WooCommerce store to the RuleHook service. Sign up
at [RuleHook.com](https://rulehook.com).

### Can I use this without the SaaS?

No, the plugin is just the connector. All rule management happens inside your RuleHook
account.

### Will this slow down checkout?

No. RuleHook is designed for performance. Rules are evaluated quickly and cached
to keep checkout smooth.

### Can I migrate existing WooCommerce shipping methods?

You can recreate your existing methods as RuleHook rules, then extend them with 
advanced conditions.

## 评价

此插件暂无评价。

## 贡献者及开发者

「RuleHook: Advanced Shipping Rules for WooCommerce」是开源软件。 以下人员对此插
件做出了贡献。

贡献者

 *   [ RuleHook Support ](https://profiles.wordpress.org/rulehook/)
 *   [ Waseem Senjer ](https://profiles.wordpress.org/waseem_senjer/)
 *   [ WPRuby ](https://profiles.wordpress.org/wprubyplugins/)

[帮助将「RuleHook: Advanced Shipping Rules for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/rulehook-connector)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/rulehook-connector/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/rulehook-connector/)，或通过[RSS](https://plugins.trac.wordpress.org/log/rulehook-connector/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/rulehook-connector/)。

## 更新日志

#### 1.1.0

 * Added: product categories and stock status to sync payload.
 * Added: product attributes to sync payload.
 * Fixed: Refactor session handling to use transients and add weight/dimension units
   to payload.

#### 1.0.1

 * Update primary and secondary theme colors for rebranding

#### 1.0.0

 * Initial Release.

## 额外信息

 *  版本 **1.1.0**
 *  最后更新：**6 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/rulehook-connector/)
 * 标签
 * [dynamic shipping](https://cn.wordpress.org/plugins/tags/dynamic-shipping/)[rule-based shipping](https://cn.wordpress.org/plugins/tags/rule-based-shipping/)
   [shipping](https://cn.wordpress.org/plugins/tags/shipping/)[woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/rulehook-connector/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/rulehook-connector/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/rulehook-connector/reviews/)

## 贡献者

 *   [ RuleHook Support ](https://profiles.wordpress.org/rulehook/)
 *   [ Waseem Senjer ](https://profiles.wordpress.org/waseem_senjer/)
 *   [ WPRuby ](https://profiles.wordpress.org/wprubyplugins/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/rulehook-connector/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://rulehook.com)