NexChat Order

Description

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

  1. A customer browses your store and adds products to their cart.
  2. On the Cart, Checkout, or Single Product page, they see the “Order via WhatsApp” button.
  3. 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.
  4. 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 .pot file 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.

Screenshots

Installation

Automatic Installation (Recommended)

  1. In your WordPress admin, go to Plugins > Add New.
  2. Search for “NexChat Order”.
  3. Click Install Now, then Activate.
  4. Navigate to WooCommerce > Chat Order to configure.

Manual Installation

  1. Download the nexchat-order.zip file.
  2. In your WordPress admin, go to Plugins > Add New > Upload Plugin.
  3. Choose the .zip file and click Install Now.
  4. Click Activate Plugin.

Configuration

  1. Go to WooCommerce > Chat Order in your WordPress admin panel.
  2. Enable the plugin using the toggle switch.
  3. Enter your WhatsApp number with the country code (e.g., 20123456789 for Egypt). Do not include +, dashes, or spaces.
  4. Optionally, customize the message template using the {cart_contents} and {total} placeholders.
  5. Choose your preferred button color and button text.
  6. Click Save Changes — you’re done!

FAQ

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.

Will this button replace the standard WooCommerce checkout?

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 .pot translation template file is included in the languages/ 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.me URL 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.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“NexChat Order” is open source software. The following people have contributed to this plugin.

Contributors

Translate “NexChat Order” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

1.0.5 – 2026-06-18

  • Prefix Compliance — Standardized all internal function prefixes, class names, constants, and option keys to use the unique nexcor/NEXCOR namespace, 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 ABSPATH checks to all PHP files and proper output escaping with esc_html(), esc_attr(), and esc_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 .pot translation template included.