Add Telegram live chat to OpenCart
OpenCart shares one footer template across your store, so one line there reaches every page.
Your line
Every website has its own line, which you get in step 3 of setup. It looks like this, with your site’s code in place of your-site-id:
<script src="https://signalgood.com/s/your-site-id.js" async></script>Start free to get your lineYour own line is under Install in Your websites.
Add it to OpenCart in three steps
- Step 1: Open your theme’s
footer.twig(for the default theme,catalog/view/theme/default/template/common/footer.twig). - Step 2: Paste your line just before
</body>. - Step 3: Refresh the theme cache from your dashboard.
Using a custom theme? Its footer template is in the same place under its own folder.
Check it works
Open your website in a new tab and look for the chat button in the corner. Send yourself a message: it arrives in Telegram from the SignalGood bot.
Questions about OpenCart
I pasted it but nothing shows. Why?
OpenCart caches templates. Refresh the theme cache, then reload your store.
Does it need an OpenCart extension?
No. It is one line in your footer template.
If the button doesn’t show
- Wait up to 10 minutes after a change.
- Clear your cache plugin or CDN.
- Check the line is on every page, not just one.
- Make sure the address in SignalGood matches your site, with or without
www.
For developers
If your site has a Content Security Policy, allow https://signalgood.com in script-src, connect-src and frame-src.
Take it off again
Remove the line, and the chat is gone from your site.
Other shop platforms
New to this? Read how Telegram live chat works, or see every platform. It’s $5 a month per website after 14 days free.