描述
NexChat Order bridges the gap between your WooCommerce store and WhatsApp, the world’s most popular messaging app with over 2 billion users. Instead of forcing every customer through a traditional checkout flow, this plugin gives them the option to send their entire cart — products, quantities, prices, and totals — directly to your WhatsApp number with a single click.
This is especially powerful for stores in regions where WhatsApp is the primary communication channel, small businesses that handle orders manually, and catalog-mode shops that don’t use online payment gateways.
How It Works
- A customer browses your store and adds products to their cart.
- On the Cart, Checkout, or Single Product page, they see the “Order via WhatsApp” button.
- One click opens WhatsApp (mobile app or WhatsApp Web) with a pre-filled message containing:
- Every item in the cart with name, quantity, and line total.
- The cart total price.
- Or, on a single product page: the product name, price, and direct URL.
- The customer sends the message, and you receive the order instantly in your WhatsApp inbox.
Key Features
- Cart Summary Mode — Automatically builds a structured message from the customer’s entire WooCommerce cart, including product names, quantities, individual prices, and the cart total.
- Single Product Mode — Adds a dedicated WhatsApp button on every product page. When clicked, it sends the product name, current price (including sale prices), and a direct link to the product.
- Variable Product Support — When a customer selects a specific variation (e.g., size or color), the WhatsApp message dynamically updates to include the chosen variation details and its exact price.
- Customizable Message Template — Full control over the WhatsApp message text. Use
{cart_contents}and{total}placeholders that are automatically replaced with real data at runtime. - Custom Button Styling — Choose any button color via a color picker and set your own button text — no CSS knowledge required.
- Enable / Disable Toggle — Instantly turn the WhatsApp button on or off from the settings page without deactivating the plugin.
- HPOS Compatible — Fully compatible with WooCommerce High-Performance Order Storage (HPOS / Custom Order Tables).
- Lightweight & Fast — Zero external dependencies. Pure PHP and vanilla JavaScript. No bloated frameworks, no API calls, no impact on page load speed.
- Translation Ready — Includes a
.potfile for easy translation. Works with WPML, Polylang, Loco Translate, and any standard WordPress translation workflow. - RTL Support — Designed to work flawlessly on right-to-left language sites (Arabic, Hebrew, Persian, etc.).
- Theme Compatible — Uses standard WooCommerce action hooks (
woocommerce_after_cart_totals,woocommerce_proceed_to_checkout,woocommerce_after_add_to_cart_button) to inject buttons natively. Compatible with popular themes like Astra, OceanWP, Flavor, flavor starter, flavor starter, flavor starter, flavor starter, flavor starter, flavor starter and page builders like Elementor.
Use Cases
- Small businesses that manage orders via WhatsApp instead of a payment gateway.
- Catalog-mode stores where products are listed but orders are placed through direct conversation.
- Service-based businesses (restaurants, bakeries, florists) that need quick order communication.
- Stores in emerging markets where WhatsApp is the dominant way customers place orders.
- Wholesale shops where pricing is negotiated per order.
Developer-Friendly
- Clean, well-documented object-oriented PHP code.
- All output is properly escaped following WordPress security standards.
- All strings are internationalized and translatable.
- Follows WordPress Coding Standards (WPCS).
For more tools and updates, visit eslamdev.com.
屏幕截图


安装
Automatic Installation (Recommended)
- In your WordPress admin, go to Plugins > Add New.
- Search for “NexChat Order”.
- Click Install Now, then Activate.
- Navigate to WooCommerce > Chat Order to configure.
Manual Installation
- Download the
nexchat-order.zipfile. - In your WordPress admin, go to Plugins > Add New > Upload Plugin.
- Choose the
.zipfile and click Install Now. - Click Activate Plugin.
Configuration
- Go to WooCommerce > Chat Order in your WordPress admin panel.
- Enable the plugin using the toggle switch.
- Enter your WhatsApp number with the country code (e.g.,
20123456789for Egypt). Do not include+, dashes, or spaces. - Optionally, customize the message template using the
{cart_contents}and{total}placeholders. - Choose your preferred button color and button text.
- Click Save Changes — you’re done!
常见问题
-
What WooCommerce versions are supported?
-
NexChat Order is tested and compatible with WooCommerce 5.0 through 8.8. It also fully supports WooCommerce HPOS (High-Performance Order Storage).
-
How do I format the WhatsApp number?
-
Enter the full international number without the
+sign, dashes, or spaces. For example:
– Egypt:20123456789
– USA:15551234567
– UK:447911123456
– Saudi Arabia:966501234567 -
What placeholders can I use in the message template?
-
You can use:
–{cart_contents}— Replaced with a formatted list of all items in the customer’s cart (name, quantity, and line total for each item).
–{total}— Replaced with the cart’s total price, formatted in your store’s currency. -
Does this work on single product pages?
-
Yes. The plugin automatically adds a WhatsApp order button on every single product page. When clicked, it sends the product name, displayed price, and a direct URL to the product — no cart required.
-
Does it support variable products (e.g., size/color)?
-
Yes. When a customer selects a variation on a variable product page, the WhatsApp message dynamically updates to reflect the selected variation’s name and price via JavaScript.
-
No. The WhatsApp button is added alongside the standard checkout process as an additional ordering option. Your existing Add to Cart, Cart, and Checkout flow remains completely untouched.
-
Does it conflict with my theme or page builder?
-
The plugin uses standard WooCommerce hooks to inject buttons, so it works natively with virtually all themes and page builders including Elementor, WPBakery, Divi, Astra, OceanWP, flavor starter, flavor starter, and flavor starter.
-
Does it work with caching plugins?
-
Yes. The WhatsApp button is rendered server-side on each page load, so it is fully compatible with all caching plugins (WP Super Cache, W3 Total Cache, LiteSpeed Cache, etc.).
-
Is it RTL compatible?
-
Yes. The plugin is fully compatible with right-to-left (RTL) languages such as Arabic, Hebrew, and Persian.
-
Can I translate the plugin?
-
Yes. A
.pottranslation template file is included in thelanguages/directory. You can translate the plugin using WPML, Polylang, Loco Translate, or Poedit. -
Does the plugin load assets on every page?
-
No. CSS and JavaScript files are only enqueued on WooCommerce Cart, Checkout, and Single Product pages — keeping your site fast everywhere else.
-
Is any data sent to external servers?
-
No. The plugin does not make any external API calls, does not collect any user data, and does not send any information to third-party servers. The WhatsApp link is a standard
wa.meURL that opens the customer’s own WhatsApp app. -
Where can I get support?
-
You can use the WordPress.org support forum for questions and bug reports, or visit eslamdev.com for direct contact.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0.5 – 2026-06-18
- Prefix Compliance — Standardized all internal function prefixes, class names, constants, and option keys to use the unique
nexcor/NEXCORnamespace, fully meeting WordPress.org plugin directory naming guidelines. - Code Standards — Ensured all files pass WordPress Coding Standards (WPCS) checks.
1.0.4 – 2026-06-15
- Settings Page Redesign — Rebuilt the admin settings page with a modern card-based layout, tabbed navigation (General Settings / Documentation), and an iOS-style enable/disable toggle.
- Toast Notifications — Added animated toast notifications for settings save confirmation instead of default WordPress admin notices.
- Asset Optimization — Restricted CSS and JS loading to only the plugin’s settings page (admin) and WooCommerce pages (frontend) to eliminate unnecessary resource loading on other pages.
- Documentation Tab — Added a built-in Documentation tab with setup instructions, placeholder reference, and theme compatibility notes.
1.0.1 – 2026-06-10
- Stable Release — First stable release after initial testing period.
- License Update — Updated license declaration to GPL-2.0+ with proper URI in plugin header.
- Hook Refinement — Adjusted WooCommerce hook priorities to ensure the WhatsApp button renders in the correct position on Cart and Checkout pages.
- Security Hardening — Added
ABSPATHchecks to all PHP files and proper output escaping withesc_html(),esc_attr(), andesc_url()on all dynamic values.
1.0.0 – 2026-06-07
- Initial Release — First public version of NexChat Order.
- Core Features — WhatsApp ordering button on Cart, Checkout, and Single Product pages.
- Cart Summary — Dynamic
{cart_contents}and{total}placeholder system for customizable message templates. - Single Product Mode — Automatic product name, price, and URL injection into WhatsApp messages.
- Variable Product Support — JavaScript-based dynamic price and variation name updates for variable products.
- Admin Settings — WooCommerce sub-menu settings page with WhatsApp number input, message template editor, button color picker, and button text customization.
- HPOS Compatibility — Declared compatibility with WooCommerce High-Performance Order Storage from day one.
- Internationalization — Full i18n support with
.pottranslation template included.
