Title: COD RuleKit for WooCommerce
Author: codshield
Published: <strong>2026 年 8 月 21 日</strong>
Last modified: 2026 年 8 月 21 日

---

搜索插件

![](https://ps.w.org/cod-rulekit-for-woocommerce/assets/banner-772x250.png?rev=3658155)

![](https://ps.w.org/cod-rulekit-for-woocommerce/assets/icon-256x256.png?rev=3658155)

# COD RuleKit for WooCommerce

 作者：[codshield](https://profiles.wordpress.org/codshield/)

[下载](https://downloads.wordpress.org/plugin/cod-rulekit-for-woocommerce.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/cod-rulekit-for-woocommerce/)

## 描述

COD RuleKit for WooCommerce gives store owners focused control over when the built-
in WooCommerce Cash on Delivery (COD) payment method is available.

Use it to restrict COD by order value, destination, shipping method, or product 
category. You can also add a fixed or percentage-based fee when a customer chooses
COD.

#### Features

 * Enable or disable all COD RuleKit rules from one switch.
 * Set a minimum order amount for COD.
 * Set a maximum order amount for COD.
 * Allow COD only for selected countries.
 * Allow COD only with selected shipping methods.
 * Block COD when the cart contains products from selected categories or their child
   categories.
 * Add a fixed COD fee.
 * Add a percentage COD fee.
 * Customize the COD fee label.
 * Compatible with WooCommerce High-Performance Order Storage (HPOS).
 * Declares compatibility with WooCommerce Cart and Checkout Blocks.

Empty restriction fields mean that rule does not restrict COD.

#### How it works

The plugin controls the built-in WooCommerce Cash on Delivery gateway. It does not
create a separate payment gateway.

When WooCommerce builds the list of payment methods available at checkout, COD RuleKit
evaluates the configured rules. If any active rule fails, COD is removed from the
available payment methods for that checkout.

If a COD fee is configured, the fee is added only when Cash on Delivery is the selected
payment method and the configured COD rules pass.

### Privacy

COD RuleKit for WooCommerce does not transmit store, customer, order, or usage data
to an external service. The plugin stores its settings locally in the WordPress 
database.

## 屏幕截图

[⌊COD RuleKit settings page with the master enable switch and COD controls.⌉⌊COD
RuleKit settings page with the master enable switch and COD controls.⌉[

COD RuleKit settings page with the master enable switch and COD controls.

[⌊Order amount rules for minimum and maximum COD order values.⌉⌊Order amount rules
for minimum and maximum COD order values.⌉[

Order amount rules for minimum and maximum COD order values.

[⌊Availability rules for countries, shipping methods, and blocked product categories.⌉⌊
Availability rules for countries, shipping methods, and blocked product categories
.⌉[

Availability rules for countries, shipping methods, and blocked product categories.

[⌊COD fee settings with fixed and percentage fee options.⌉⌊COD fee settings with
fixed and percentage fee options.⌉[

COD fee settings with fixed and percentage fee options.

## 安装

 1. Install and activate WooCommerce.
 2. Make sure Cash on Delivery is enabled under WooCommerce > Settings > Payments.
 3. Upload the COD RuleKit ZIP through Plugins > Add Plugin > Upload Plugin, or install
    it from the WordPress Plugin Directory when available.
 4. Activate COD RuleKit for WooCommerce.
 5. Go to WooCommerce > COD RuleKit.
 6. Configure the rules you need and click Save COD settings.

## 常见问题

### Does this plugin replace WooCommerce Cash on Delivery?

No. It controls the built-in WooCommerce Cash on Delivery gateway. COD must still
be enabled in WooCommerce payment settings.

### What happens when no countries are selected?

COD is not restricted by country.

### What happens when no shipping methods are selected?

COD is not restricted by shipping method.

### What happens when no product categories are selected?

COD is not restricted by product category.

### How are minimum and maximum order amounts calculated?

The rules use the WooCommerce cart items total after discounts and before shipping.

### How is the percentage COD fee calculated?

The percentage fee is calculated from the cart items total after discounts plus 
shipping, before the COD fee itself is added.

### Is the COD fee taxable?

Version 1.0.0 adds the COD fee as non-taxable.

### Does the plugin send store or customer data to an external service?

No. Version 1.0.0 makes no external API requests and includes no analytics or tracking
service.

### What data does the plugin store?

The plugin stores only its configuration in the WordPress options table. Uninstalling
the plugin removes that configuration.

## 评价

此插件暂无评价。

## 贡献者及开发者

「COD RuleKit for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「COD RuleKit for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/cod-rulekit-for-woocommerce)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial public release.
 * Added minimum and maximum COD order rules.
 * Added country, shipping method, and product category rules.
 * Added fixed and percentage COD fees.
 * Added HPOS and Cart/Checkout Blocks compatibility declarations.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.5 或更高版本 **
 *  已测试的最高版本为 **7.0.6**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/cod-rulekit-for-woocommerce/)
 * 标签
 * [cash on delivery](https://cn.wordpress.org/plugins/tags/cash-on-delivery/)[checkout](https://cn.wordpress.org/plugins/tags/checkout/)
   [cod](https://cn.wordpress.org/plugins/tags/cod/)[payment gateway](https://cn.wordpress.org/plugins/tags/payment-gateway/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/cod-rulekit-for-woocommerce/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/cod-rulekit-for-woocommerce/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/cod-rulekit-for-woocommerce/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/cod-rulekit-for-woocommerce/)