
外掛標籤
開發者團隊
原文外掛簡介
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_parts adds or changes message placeholders
orderchat_message filters the final message text
orderchat_whatsapp_number changes the receiving number per order
orderchat_order_created runs after an order is created
orderchat_product_supported controls which products show the button
orderchat_pick_number overrides which store number receives an order
orderchat_admin_message changes the admin’s opening message to the customer
orderchat_is_open overrides business-hours logic
orderchat_trusted_proxies lists your own proxy/load-balancer IPs so X-Forwarded-For is trusted
orderchat_client_ip overrides the detected visitor IP
orderchat_rate_limit and orderchat_rate_window adjust 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
