Linux 软件免费装
Banner图

RT Express COD – Order Now Button for WooCommerce

开发者 raintech357
rtao
更新时间 2026年8月8日 01:07
PHP版本: 7.2 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

buy now button cash on delivery express checkout cod order now

下载

2.3.1

详情介绍:

RT Express COD for WooCommerce adds a fast, styleable "Order Now" button to your product pages so customers can place a Cash on Delivery order in seconds — without going through your full multi-step WooCommerce checkout. Clicking the button opens a lightweight modal with a live order summary (subtotal, shipping, tax, and COD fee), real shipping rates from your existing shipping zones, and only the fields you choose to ask for. For stores that rely heavily on Cash on Delivery — a common setup across many regions — this express checkout flow reduces cart abandonment by removing friction between "I want this" and "order placed." The entire experience is React-powered: a modern tabbed settings screen in your WordPress admin, and a self-contained React storefront form/modal that survives almost any theme. Why Store Owners Use This Plugin Version 2.0.0 was 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 add a Cash on Delivery button to the product page?

Yes. It adds a customizable "Order Now" button near the add-to-cart area. Clicking it opens a modal where the customer enters their details and places a Cash on Delivery order without visiting the full checkout page.

Can I limit Express COD to certain products or order amounts?

Yes. You can restrict it by product type, product category, or a minimum/maximum cart total, so the button only appears where COD makes sense for your store.

Does it calculate real shipping rates?

Yes. The modal calculates live shipping rates from the customer's entered address using your existing WooCommerce shipping zones and methods, and adds the selected rate to the order total.

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