Wooo Support Chat
A real-time support chat solution for WooCommerce orders using WordPress, Node.js, and Socket.io.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/srivastava-abhigyan/wooo-support-chat/archive/refs/heads/main.zipWooo Support Chat is a high-performance, real-time messaging plugin designed specifically for WooCommerce. It enables seamless communication between customers and store admins directly through the order history, ensuring faster resolution times and improved customer satisfaction.
✨ Key Features
- ⚡ Real-Time Messaging: Powered by Socket.io for instantaneous communication without page refreshes.
- 📦 Order-Centric Chat: Automatically creates dedicated chat rooms for every WooCommerce order.
- 🖥️ Admin Dashboard: A centralized management interface within the WordPress backend to handle all support requests.
- 💾 Persistent History: All conversations are securely stored in the WordPress database for future reference.
- ⌨️ Typing Indicators: Live feedback when the other party is typing, making the chat feel alive.
- 📂 WooCommerce Integration: Extends the "My Account" area with an "Order Support" section for customers.
🛠️ Technology Stack
- Backend: PHP (WordPress Plugin API)
- Real-time Engine: Node.js & Express with Socket.io
- Database: MySQL (WordPress wp_tables)
- Frontend: jQuery, AJAX, and Socket.io-client
📥 Installation
1. WordPress Plugin Setup
- Upload the
wooo-support-chatfolder to your/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
2. Socket Server Configuration
- Navigate to the plugin directory in your terminal.
- Install Node.js dependencies:
npm install - Start the real-time server:
node server.js[!TIP] For production, use a process manager like
pm2:pm2 start server.js
3. URL Configuration
Ensure the socket_server_url in wooo-support-chat.php matches your server's endpoint:
'socket_server_url' => 'http://your-domain.com:3000',
🚀 Usage
For Customers
Customers can navigate to their My Account > Order Support to select an order and start chatting with the admin.
For Admins
Admins can access the Support Chat menu in the WordPress sidebar to view active tickets and respond to customers in real-time.
📝 Shortcodes
You can manually embed the chat interface on any page using:
[wooo_support_chat]
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Developed with ❤️ for the WooCommerce Community.