Skip to content

Add chat to a Shopify store

Add the one-line chat code to your Shopify theme so the chat button shows on every page of your store. This one edits a theme file, so make a backup first.

  • About 10 minutes
  • Comfortable with website settings
  • For: Shopify store owners and staff with permission to edit themes

Before you start, have these ready

  • Your Shopify admin sign-in with theme permissions
  • The website chat add-on, $29 a month on any plan. Email hello@solvetrend.com to add it.
  • Your line switched on: the Receptionist page says "Answering calls." Chat only answers once it is.
  • Ten quiet minutes
  1. Step 1: Copy your chat code

    Sign in, open Settings, and find the Website chat panel. Select the whole line of code in the grey box and copy it. It is one line, and it already contains your account ID.

    It looks like this

    <script src="https://getringhero.com/widget.js" data-org="YOUR_ORG_ID" async></script>
    Shopify: copy your chat codeShopify: copy your chat code

    What you should see

    One line that starts with <script and ends with </script>, with your account ID after data-org=.

  2. Step 2: Open your themes

    In your Shopify admin choose Online Store, then Themes.

    What you should see

    Your current theme at the top of the page.

  3. Step 3: Make a backup copy first

    Press the button with three dots beside your current theme and choose Duplicate. If anything goes wrong you can publish the copy.

    What you should see

    A second theme in your library with Copy of in its name.

  4. Step 4: Open the code editor

    Press the three dots beside your current theme again and choose Edit code. In the list of files on the left, open the Layout folder and choose theme.liquid.

    What you should see

    A long page of code. You only need to find one line in it.

  5. Step 5: Paste the code above the closing body tag

    Scroll to the very bottom of the file, or search for </body>. Click at the start of that line, press Enter to make an empty line above it, and paste your chat code on the empty line.

    The end of the file should look like this

      <script src="https://getringhero.com/widget.js" data-org="YOUR_ORG_ID" async></script>
    </body>
    </html>

    Important

    Do not delete or change anything else in this file.

  6. Step 6: Save

    Press Save at the top right of the editor.

  7. Step 7: Check it on your live site

    Open your website in a new private or incognito window, so you see what a visitor sees. Try it on your phone too.

    No button?

    Make sure the change is published, then refresh the page. If your site has a cookie banner or a cache plugin, clear the cache and look again.

    What you should see

    A green button labelled "Chat" in the bottom right corner of your website. Click it and a chat panel opens above the button, which now says "Close".

  8. Step 8: Ask it a real question

    Ask about your hours and about a price from your price list. Then ask for something you have not told it.

    What you should see

    Answers that match your Receptionist settings. For anything missing, it says the team will confirm and offers to take a name and number.

If a screen is named a little differently from what you see, the steps still apply in the same order. Tell us at hello@solvetrend.com and we will fix the guide.

Hear it answer your business

Upload your price list to the demo and talk to it in under a minute. When you're ready, create your account, set up your receptionist, and we connect your number with you. Every plan starts with a 14-day free trial.