| 开发者 | codrulesdev |
|---|---|
| 更新时间 | 2026年9月26日 21:22 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Al *, 1234*) and numeric ranges (10000-19999) work. Spelling variants are folded before matching, so "Al-Rayyan", "al rayyan" and "AL RAYYAN" are one entry, and so are "الريان" and "الريّان" whatever the hamza, taa-marbuta or alef-maqsura. List a city in both scripts to catch both — the ready-made lists for Qatar, Saudi Arabia, UAE, Kuwait, Bahrain, Oman and Egypt already include both, and insert with one click.crfw_condition_types, crfw_match_condition, crfw_decision, crfw_cart_fee, crfw_gateway_id, crfw_presets, crfw_rules, crfw_context_from_cart, crfw_context_from_order, crfw_pro_active. REST namespace crfw/v1. The block checkout receives the decision under extensions["cod-rules"] on the Store API cart response.
Check that taxes are enabled in WooCommerce → Settings → General, that a tax rate exists for the customer's location, and that the rule (or the default in Settings) is set to Taxable. The scenario tester shows whether a fee is taxable and which class it uses.
Yes. Case, punctuation, diacritics and common letter variants (ة/ه, أ/ا, ى/ي) are folded before matching, and you can add both spellings to a list anyway. Use * for a wildcard.
Never. It is the items total after discounts, optionally plus shipping and tax, as chosen in Settings.
Yes. COD Rules is built for the block checkout first and also supports the classic shortcode checkout and the "pay for order" page.
Yes. Set the gateway id in Settings → Advanced. Any gateway with that id is managed the same way.
Run one at a time. After importing from Smart COD, deactivate Smart COD so the fee is not charged twice.
The plugin's settings and rules are removed. Order notes and the fee lines on existing orders are kept, because they are part of your order history.