| 开发者 | raintech357 |
|---|---|
| 更新时间 | 2026年6月18日 00:32 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 6.7 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
rt-express-cod-for-woocommerce folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload Plugin.build/ folder, so no build step is needed to use it. Developers who want to modify the React source can rebuild with npm install && npm run build (see Frequently Asked Questions).No. It offers a faster path for COD customers on the product page. The normal checkout is untouched and still available.
Orders are created as standard WooCommerce orders (payment method "Cash on Delivery (Express)") so they appear in WooCommerce → Orders like any other order. Each express order carries the meta flags _rt_express_cod and _rt_express_cod_source.
Reads (settings + per-product form config) go through a small cache wrapper that prefers a persistent object cache and falls back to transients. Everything lives under one versioned key namespace, so clearing the cache is just a version bump — instant and complete. You can clear it any time from the admin screen, and it clears automatically whenever you save settings.
From the plugin folder run npm install then npm run build (Node 18+). This compiles src/ into build/ using esbuild against WordPress's bundled React (wp.element). Use npm run dev for an unminified build.
Yes. All strings use the rt-express-cod-for-woocommerce text domain, including the React apps via wp_set_script_translations.
/summary REST endpoint backing the modal totals (tax is calculated for the entered destination).rt-express-cod/v1 replacing admin-ajax.