Home

Add live chat to your OpenCart store

The MuhatapChat widget is added to your OpenCart theme with one line of code; no extension needed.

You paste the MuhatapChat code before the </body> tag in your theme's footer template and refresh the theme cache. The widget shows on store pages and visitor messages land in your panel inbox.

Setup steps

  1. 1Open the footer template in your theme files (OpenCart 3 and 4: catalog/view/theme/<theme>/template/common/footer.twig).
  2. 2Paste the code right before the </body> tag and save.
  3. 3Refresh the theme cache from the gear icon (developer settings) on the admin dashboard and open your store.

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 the widget does not show, refresh the theme cache again and clear your browser cache.

Frequently asked questions

  • If your theme or an extension has a field for adding code to the footer, you can paste it there. Otherwise editing the footer template is the simplest way.

  • If you added it directly to a theme file, a theme update may replace the file. Check that the widget shows after updating and add the code again if needed.

  • Yes. Operators can answer conversations from their phone with the MuhatapChat mobile app and get instant notifications.

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