| 开发者 | redcasesoftware |
|---|---|
| 更新时间 | 2026年12月2日 21:28 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
cod payment method, so emails, reports and other plugins see nothing new.
What you can set
GR: 10000...19999, 84001. Spaces and letter case are ignored and leading zeros are kept.redcase_cod_block_reasons: the reasons that hide cash on delivery. Return an empty array to offer it, or add your own reason to hide it.redcase_cod_fee: the fee amount before tax.redcase_cod_fee_label: the name of the fee line, for example per language.add_filter( 'redcase_cod_block_reasons', function ( $reasons ) { foreach ( WC()->cart->get_cart() as $item ) { if ( has_term( 'furniture', 'product_cat', $item['product_id'] ) ) { $reasons[] = 'furniture'; } } return $reasons; } );
Privacy
The plugin makes no external requests, collects no data and adds no tracking. It stores its settings in one option.
Translations
English and Greek are included.
No. It adds rules and a fee to it. Turn the gateway on or off in WooCommerce as usual.
WooCommerce shows the cash on delivery settings as a new React screen that only holds its own fields. The plugin keeps that one screen on the classic form so its section can be shown under WooCommerce's fields.
When you choose a tax class, the amount you enter is before tax and WooCommerce adds the tax. With "Not taxable" the amount is charged as entered.
The "Disable for shipping methods" list shows every method entry of every zone, for example "Greece — Courier (flat_rate:2)". Pick the entry itself.
Yes. Use "Download settings" in the "Settings backup" part, then choose the file under "Load a backup" on the other shop and save. Shipping zones, shipping methods and the fees per shipping method are left out there, because their IDs differ from shop to shop: set those again.
Yes. "Fee per shipping method" has a field for every shipping method entry and one for local pickup. Empty means the standard fee, 0 means no fee. To refuse cash on delivery on local pickup, tick "Disable cash on delivery for local pickup".
No. The rules apply to the checkout. The order-pay page keeps WooCommerce's behaviour.
redcase_cod_block_reasons, redcase_cod_fee and redcase_cod_fee_label.