Add live chat to your WooCommerce store
The MuhatapChat widget is added to your WooCommerce store with one line of code; no separate MuhatapChat plugin needed.
In WordPress you add the MuhatapChat code to the footer with a code plugin or your theme's custom code field. The widget shows on shop, product and cart pages and visitor messages land in your panel inbox.
Setup steps
- 1In the WordPress admin, install a code plugin such as "WPCode" or "Insert Headers and Footers" (or use your theme's custom code field).
- 2Paste the code into the "Footer" section and save; it loads on the shop, product and cart pages.
- 3If you use a cache or optimisation plugin, clear the cache.
Menu names can differ by platform version and theme; the goal is to load the code before the </body> tag on every page.
Code to add
HTML
<script src="https://chat.muhatapchat.com/widget.js" data-widget-id="mc_XXXXXXXXXXXX" async></script>Your code is ready in the panel, in your site’s Integration tab. Replace the ID in the example below with your own.
After setup
- Open your store in a new tab and look for the chat bubble at the bottom right.
- Write a test message from the bubble; it should appear in the panel inbox.
- If you use a cache or optimisation plugin, clear the cache and reload the page.
Frequently asked questions
No. The widget is one line of code; a code plugin such as WPCode or your theme's custom code field is enough.
Plugins that combine or delay JavaScript sometimes stop the widget from loading. If the widget does not appear, exclude the MuhatapChat code from those optimisations.
If you added it with a code plugin, a theme change does not affect it. If you added it directly to a theme file, add it to the new theme as well.
Put live chat on your site today
Your free account opens with your site name filled in. No card needed. Want help with setup? Write to us