Add Telegram live chat to PrestaShop
In PrestaShop the line goes in your footer, through a custom HTML module or your theme’s footer template.
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 PrestaShop in three steps
- Step 1: Use a custom HTML block module that can place content in the footer hook (
displayFooterordisplayBeforeBodyClosingTag), or open your theme’s footer template. - Step 2: Paste your line there, just before
</body>if you are in the template. - Step 3: Clear the cache in Advanced Parameters › Performance.
A theme update can overwrite the template, so a module is the safer place.
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 PrestaShop
Module or template?
A module keeps the line when your theme updates. The template works too, but you may need to add it again after an update.
Do my customers need Telegram?
No. They type in the chat on your shop. Only you use Telegram.
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.