Linux 软件免费装

RT Express COD for WooCommerce

开发者 raintech357
更新时间 2026年6月18日 00:32
PHP版本: 7.2 及以上
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce cash on delivery express checkout react cod

下载

详情介绍:

RT Express COD adds a compact "Express Cash on Delivery" form to your WooCommerce product pages. A shopper enters just the details you ask for (name, phone, optional email / address / note), taps one button, and an order is created for them — skipping the standard multi-step checkout. Version 2.0.0 is a full rewrite: Key features

安装:

  1. Upload the rt-express-cod-for-woocommerce folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload Plugin.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Make sure WooCommerce is active.
  4. Go to WooCommerce → Express COD to configure.
The plugin ships with a pre-built 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).

升级注意事项:

2.3.0 The product-page button is now fully customisable (text, style, colour, size, width, icon) with a live preview under WooCommerce → Express COD → General. 2.2.0 The product-page form is now an "Order now" button that opens a modal with the cart items and a live total (shipping + tax + fee). No settings changes required. 2.1.0 Fixes the "cart is not available" error and adds live shipping calculation plus extra address fields. Review the new Shipping tab and Form fields after upgrading. 2.0.0 Major rewrite with a React admin and storefront, REST API, caching, and many advanced options. Review your settings under WooCommerce → Express COD after upgrading.

常见问题:

Does this replace the WooCommerce checkout?

No. It offers a faster path for COD customers on the product page. The normal checkout is untouched and still available.

Where is the data stored?

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.

How does caching work?

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.

How do I rebuild the React apps?

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.

Is it translation ready?

Yes. All strings use the rt-express-cod-for-woocommerce text domain, including the React apps via wp_set_script_translations.

更新日志:

2.3.0 2.2.0 2.1.0 2.0.0 1.0.0