Add Telegram live chat to Shopware

In Shopware the line goes into your theme’s base template, inside the block meant for scripts.

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:

Example
<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 Shopware in three steps

  1. Step 1: In your theme, extend Resources/views/storefront/base.html.twig and open the base_body_script block (keep {{ parent() }} in it).
  2. Step 2: Paste your line inside that block.
  3. Step 3: Rebuild the theme with bin/console theme:compile and clear the cache.

Block names can change between Shopware versions.

Menu names change; if you can't find it, search your platform's help for 'custom code'.

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 Shopware

Why keep `{{ parent() }}`?

It keeps Shopware’s own scripts in that block. Without it, parts of your storefront stop working.

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.

From $5 a month per website, after 14 days free. No card to start.

Start freeYour websites