Description
CodersShip AI Chatbot for WooCommerce brings an AI-powered assistant to your WooCommerce store. It helps customers check product stock in real time, answers custom FAQs, captures leads, and reduces support tickets.
Key Features:
✅ Product Availability Check – Customers can ask “Do you have Laptop?” and get instant stock updates.
✅ Real‑time WooCommerce Integration – Automatically reads product names, stock, and categories.
✅ Custom FAQ Patterns – Define regex‑based questions and answers via admin panel.
✅ Lead Capture – Collect visitor name/email before starting a chat (optional).
✅ REST API Endpoint – /cschatwc/v1/chat for external or headless integrations.
✅ Shortcode Ready – Use [cschatwc_chatbot] anywhere (page, post, widget).
✅ Global Toggle – Option to display chatbot on all pages or only via shortcode.
✅ Synonyms – Map slang to canonical product names (e.g., “macbook” “Laptop”).
✅ Custom Product Lists – For stores not using WooCommerce, define your own products with stock.
✅ Fully Translation Ready – All strings use proper text domain.
Admin Features:
- Settings page to control lead capture, product source, synonyms, and global enable.
- Manage custom FAQs (add, edit, delete) with regex patterns.
- View captured leads with name, email, timestamp, and page URL.
- Promotional sidebar to cross‑sell your other products.
Technical Highlights:
- Follows WordPress Coding Standards (escaping, nonces, sanitization, capabilities).
- Direct file access protection on all PHP files.
- Safe output escaping and translation functions.
wp_safe_redirect()and permission checks for admin actions.
Demo & Support
- Visit Coders Ship for documentation and support.
Installation
- Upload the
codersship-ai-chatbot-woocommercefolder to/wp-content/plugins/. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to CS Chat in the admin menu.
- Configure settings:
- Enable/disable lead capture.
- Choose product source (WooCommerce or custom list).
- Add custom FAQs and synonyms.
- Insert the shortcode
[cschatwc_chatbot]into any post, page, or widget. - (Optional) Enable “Global Enable” to show the chatbot on all pages.
FAQ
-
How do I change the chatbot’s appearance?
-
The plugin includes basic inline CSS. You can override styles using your theme’s CSS or via the
wp_headaction. -
Can I use this without WooCommerce?
-
Yes. In Settings Product Source, select “Custom List” and define your products (one per line:
Name|Stock). -
How to capture leads?
-
Enable “Lead Capture” in Settings. The chatbot will ask for name/email before answering questions. Leads are stored under Captured Leads submenu.
-
Can I add my own FAQ answers?
-
Absolutely. Go to CS Chat Settings Custom FAQ Answers. Enter a regex pattern (e.g.,
\b(return|refund)\b) and your answer. -
Does it support translations?
-
Yes. The plugin uses
__(),_e(),esc_html__(), etc. with text domaincodersship-ai-chatbot-woocommerce. You can translate with Loco Translate or WordPress.org translation tools. -
How does the synonym feature work?
-
For example, if you set
macbook|Laptop, when a user types “macbook”, the chatbot will treat it as “Laptop” and check stock for that product. -
Is the REST API public?
-
The endpoint
/cschatwc/v1/chatis publicly accessible (no authentication). It accepts POST JSON{ "message": "Do you have Laptop?" }and returns a reply. Lead capture is also sent via{ "lead": { "name": "John", "email": "john@example.com" } }.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“CodersShip AI Chatbot for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “CodersShip AI Chatbot for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- WooCommerce product availability check.
- Custom FAQ with regex patterns.
- Lead capture and storage.
- REST API endpoint.
- Shortcode and global display options.
- Synonyms and custom product lists.
- Fully WPCS compliant with escaping and sanitization.



