OrderChat for WooCommerce
Let customers order on WhatsApp while every order is still recorded in WooCommerce as a real order.
Install in
Many shoppers would rather order through WhatsApp than fill in a checkout. Most WhatsApp buttons just open a chat, so the order never reaches your store, stock is never tracked and nothing shows up in your reports.
OrderChat fixes that. When a customer taps “Order on WhatsApp”:
- They enter their name, phone and delivery address in a short pop-up.
- A real WooCommerce order is created with the status Pending WhatsApp.
- WhatsApp opens with the order number, items, total and their details already written, ready to send to you.
You confirm the order in the chat. When payment is received, change the status to Processing as usual. Stock, emails and reports then work as normal.
Features
- “Order on WhatsApp” button on single product pages (simple and variable products)
- “Order cart on WhatsApp” button on the cart page, including applied coupons
- Real WooCommerce orders with a custom “Pending WhatsApp” status
- Editable message template with placeholders, and lines whose value is empty are removed automatically
- Optional “Pay online” link in the message, using your existing payment gateways
- Choose your button text and colour
- Remembers the customer’s details on their device for next time
- Built-in spam protection: security tokens, hidden honeypot field and a per-visitor rate limit that sees real visitor IPs behind Cloudflare
- Respects “sold individually”, minimum/maximum quantities and other plugins’ add-to-cart rules
- “Chat with customer” button on every order screen, with a ready-made opening message
- Several WhatsApp numbers: always use the main one, take turns, or pick at random
- Default country code, so local customer numbers (e.g. 0813…) open correctly
- Business hours: show a “we’re closed, we’ll reply tomorrow at 9:00” note, or hide the buttons
- Auto-cancel “Pending WhatsApp” orders nobody confirmed after a set number of hours
- Compatible with WooCommerce High-Performance Order Storage (HPOS)
- Translation-ready, no external services, no tracking
Developer hooks
orderchat_message_partsadds or changes message placeholdersorderchat_messagefilters the final message textorderchat_whatsapp_numberchanges the receiving number per orderorderchat_order_createdruns after an order is createdorderchat_product_supportedcontrols which products show the buttonorderchat_pick_numberoverrides which store number receives an orderorderchat_admin_messagechanges the admin’s opening message to the customerorderchat_is_openoverrides business-hours logicorderchat_trusted_proxieslists your own proxy/load-balancer IPs so X-Forwarded-For is trustedorderchat_client_ipoverrides the detected visitor IPorderchat_rate_limitandorderchat_rate_windowadjust spam protection
External services
This plugin links to WhatsApp, a service provided by Meta Platforms, Inc. (WhatsApp LLC), so customers can send their order to the store and store staff can message customers.
- When: only when a customer taps an OrderChat button and submits the pop-up, or when a store manager clicks “Chat with customer” on an order.
- What is sent: the customer’s browser opens a
https://wa.me/link. The link contains the store’s or customer’s WhatsApp number and the order message: order number, items, total, and the name, phone, delivery address and note the customer entered. When the browser opens that link, WhatsApp receives this information. - Nothing is sent in the background. The plugin makes no server-side requests to WhatsApp or any other service, and has no tracking or analytics.
WhatsApp Terms of Service: https://www.whatsapp.com/legal/terms-of-service
WhatsApp Privacy Policy: https://www.whatsapp.com/legal/privacy-policy
Written by Joobi from the project's own listing. See the source page
0.2.5
- Admin styles moved to an enqueued stylesheet, loaded only on order screens.
- Admin notices limited to the Plugins and WooCommerce settings screens.
0.2.4
- Fix: an order paid through the “Pay online” link now moves from Pending WhatsApp to Processing, the same as a normal checkout.
0.2.3
- Readme: full setup and daily-use instructions, screenshots list, and External services disclosure for WhatsApp.
0.2.2
- Plugin Check: all posted input is sanitized at the point it is read.
- Plugin Check: documented the intentional use of WooCommerce core filters.
- Tested with WordPress 7.1.
0.2.1
- Security: variation options are checked against the product’s real options. Fixed options always come from the variation.
- Security: the rate limit uses the real visitor IP behind Cloudflare, and spoofed forwarded headers are ignored. You can add trusted proxies with a filter.
- Security: hidden honeypot field to stop form-filling bots.
- Fix: respects “sold individually”, min/max purchase quantities and the woocommerce_add_to_cart_validation filter.
- New: option to stop remembering customer details on the device.
0.2.0
- New: “Chat with customer” box on the order screen (classic and HPOS).
- New: extra WhatsApp numbers with main / round-robin / random sharing. The receiving number is saved on each order.
- New: default country code for customer numbers.
- New: business hours with overnight support, closed note or hidden buttons.
- New: auto-cancel unconfirmed “Pending WhatsApp” orders (hourly check).
- Tested with WooCommerce 11.3.
0.1.0
- First release: product and cart buttons, customer details pop-up, Pending WhatsApp order status, message template, optional payment link.
Follow this listing's changes (Atom feed)