How to add live chat to Shopify comes down to one choice. You can install a chat app from the Shopify App Store, such as Shopify's own free Shopify Inbox, or you can paste your chat tool's script into your theme: in the Shopify admin go to Online Store, open the three-dot menu on your live theme, choose Edit code, open theme.liquid under Layout, paste the snippet just above </body> and save. Either takes about five minutes. This guide covers both, then the part most stores skip: hours, offline messages, which pages show chat, who answers, and how to test it on a phone before customers do.
Before you start: what you need
- Access to the Shopify admin with permission to edit themes. Staff accounts need the themes permission.
- A backup. Duplicate your live theme first (three-dot menu, Duplicate), so you can roll back in one click.
- Your chat snippet, if you are going the script route. Chat tools show it under a name like Install or Embed code.
- A name for who answers chat, and when. A widget nobody watches is worse than no widget, because it promises a quick reply and then doesn't give one.
- The ten questions customers ask most. Pull them from your inbox and order notes. They become your saved replies and your offline answers.
- A phone. Most of the testing below happens on one.
App or script tag: which to choose
Both routes put a chat button on your store. They differ in what they can see, what survives a theme change, and where the conversations end up.
| Shopify Inbox | Other App Store chat apps | Script tag in theme.liquid | |
|---|---|---|---|
| How it installs | App, switched on as an app embed in the theme editor | App, usually an app embed | Paste one snippet into the theme code |
| Cost | Free | Varies, often free tier plus paid plans | Whatever the chat tool costs |
| Knows about orders | Yes, it connects to your catalog and orders | Many do | Only if the tool has its own Shopify integration |
| After a theme switch | Turn the embed on again in the new theme | Turn the embed on again | Paste the snippet into the new theme |
| Other channels in one place | Mostly store chat | Depends on the app | Depends on the tool; often email and messaging too |
| Best for | A solo owner answering from the Shopify app | Stores that want order data inside chat | Teams that answer several channels, or run more than one site |
If you work alone and only need chat, Shopify Inbox is the obvious first try. If two or more people answer customers, or chat is one of several places customers write from, a tool with a shared inbox usually wins, and many of those install by script tag.
That is how Sellio works: there is no Shopify App Store app, the widget goes in with one script tag, and store chats land in the same inbox as email and Telegram. It does not read Shopify order data yet (that integration is coming soon), so agents check orders in the Shopify admin. The live chat for Shopify page covers what the widget includes.
How to add live chat to Shopify with a script tag
These clicks match the current Shopify admin on desktop. Work on the duplicate theme if you want to preview before going live, then publish it.

- In your chat tool, copy the install snippet. It already carries your account's key, so do not edit it.
- In the Shopify admin, go to Online Store, then Themes.
- On the theme you are editing, click the three-dot menu and choose Edit code.
- In the file list on the left, under Layout, open
theme.liquid. This file wraps every page of the storefront. - Scroll to the bottom and find the closing
</body>tag. Use Ctrl+F or Cmd+F if the file is long. - Paste the snippet on a new line just above
</body>. - Click Save, then open your store in a new tab. The chat launcher should appear in a corner on every page.
The finished end of the file looks something like this:
<!-- Live chat -->
<script src="https://your-chat-tool.example/widget.js" data-key="YOUR_KEY" async></script>
</body>
</html>
Keep the comment line. Six months from now, you or a developer will want to know what that script is.
Shopify's own guide to editing theme code adds two warnings worth knowing. A theme update can drop code edits that conflict with it, and you cannot edit code on a paid theme you are only trialing. After any theme update, check the launcher is still there. If you would rather not touch code at all, the Shopify and WordPress install helper walks through the same steps with your snippet, and the general guide to adding live chat to any website covers other platforms you might run alongside the store.
One alternative: some themes let you add a Custom Liquid section in the theme editor and paste the snippet there. That only puts chat on the templates where you add the section, which can be useful, but for store-wide chat theme.liquid is simpler.
Match the widget to your brand colors and tone
A chat button in a default blue on a black-and-cream store looks like an ad someone injected. Take your accent color from Online Store, Themes, Customize, Theme settings, Colors, and use the same hex code in the chat tool. Check that white text is readable on it; pale brand colors often need dark text instead.
Then check the launcher's position on a product page on your phone. On many themes the bottom-right corner is already crowded by a sticky add-to-cart bar, a cookie banner or a back-to-top arrow. Move the launcher to the other side or raise it until nothing overlaps. Check two or three product pages, since templates differ.
The greeting is the first thing your brand says in chat, so write it the way you would talk at a market stall. A few that work for stores:
Hi, we're the team that packs your orders. Questions about sizing, shipping or returns? Ask here and we'll reply in a few minutes.
Not sure which size to pick? Tell us your usual size in another brand and we'll compare.
Shipping to Canada or the UK? Ask us before you check out and we'll confirm delivery time and duties.
The welcome message generator drafts more in your tone if you need a starting point.
Set business hours and offline messages
Pick chat hours you can actually staff, not the hours you wish you could. Look at when your orders and site visits peak (Shopify's analytics reports show when sessions and orders come in) and cover the busiest block first. A store run by two people might staff chat from 10:00 to 18:00 on weekdays and leave weekends offline. That is fine as long as the widget says so.

Outside those hours, the widget should switch to an offline message that sets a clear expectation and collects an email address:
We're offline right now and back at 10:00 (Eastern). Leave your question and email, and we'll answer first thing. Order tracking is on the Track my order page any time.
We're out until Monday morning. For returns, our return policy page has the steps and the label. Anything else, leave a message and we'll reply Monday.
A middle option is an AI agent that answers on website chat when nobody is on shift, using your own shipping, returns and FAQ pages. Sellio's AI agent does this on website chat only, hands the conversation to a person when it is not sure, and can be capped so the spend has a ceiling; usage beyond the credits included in the plan costs extra. Whichever tool you use, test it with your ten real questions before you leave it alone overnight. The after-hours coverage calculator helps you work out how many hours are worth covering with people.
Show chat on product pages, keep it away from checkout
You do not have to do anything to keep chat off checkout. Shopify's checkout does not load theme.liquid, so a theme script never appears there, and Shopify retired the old checkout.liquid customizations that once allowed it. In practice the cart page is the last page where a script-tag widget can show up.
To narrow it further, wrap the snippet in a Liquid condition. Shopify's request.page_type tells you which kind of page is rendering. This shows chat only on product, collection and cart pages:
{% if request.page_type == 'product' or request.page_type == 'collection' or request.page_type == 'cart' %}
<!-- Live chat -->
<script src="https://your-chat-tool.example/widget.js" data-key="YOUR_KEY" async></script>
{% endif %}
And this hides it on the password page while the store is still closed to the public:
{% unless request.page_type == 'password' %}
<!-- Live chat snippet here -->
{% endunless %}
Product pages are where chat earns its place: sizing, materials, compatibility, delivery dates. Blog posts and the account pages rarely need it. If you sell something that needs advice before purchase, keep chat on the cart too, since that is where people hesitate over shipping costs.
Route chats to the right person
Routing at a small store is mostly about making sure every chat has exactly one owner. Pick the setup that matches your team:
- One person: turn on desktop and phone notifications and set the widget to offline whenever you are away from both. Nothing else to route.
- Two to five people: one person owns chat per shift. Others can see the queue but only step in when assigned, so two people never answer the same customer.
- Pre-sales and post-sales split: product questions to whoever knows the catalog, order problems to whoever handles fulfilment. Most chat tools can route on a page rule (chats started on product pages) or a tag.
If your team already lives in Slack or Discord, route new chat alerts there so nobody needs to watch one more tab. Sellio, for example, connects to Slack and Discord for this. Keep one rule regardless of tool: a chat that was not answered within your promised time goes to a named backup, not to everyone.
Test on mobile and desktop
Run this checklist before you announce chat anywhere:

- Open a product page on an iPhone in Safari and on an Android phone in Chrome. The launcher is visible and covers nothing.
- Open the chat, send a test message, and confirm it arrives in your inbox and triggers a notification on the right person's phone.
- Reply from the inbox and check the reply shows in the widget within a few seconds.
- Close the browser tab, reopen the store, and check the conversation is still there.
- Switch the widget to offline and confirm the offline message and the email field appear.
- Go to cart, then checkout. Chat appears on cart (if you kept it there) and not on checkout.
- Run your product page through PageSpeed Insights before and after. A widget loaded with
asyncshould not change how fast the page first appears.
Common problems and fixes
| Problem | Likely cause | Fix |
|---|---|---|
| Launcher does not appear | Snippet saved in a theme that is not published | Check which theme is live, or publish the duplicate you edited |
| Launcher does not appear on some pages | Snippet sits inside a Liquid condition or a Custom Liquid section | Move it to the end of theme.liquid, outside any condition you did not mean to add |
| Two chat buttons | An app embed and a script are both on | Turn off the app embed under Customize, App embeds, or remove the extra script |
| Chat vanished after a theme change | Each theme has its own theme.liquid | Paste the snippet into the new theme before publishing it |
| Launcher covers add to cart on phones | Sticky cart bar in the same corner | Move the launcher to the other side or raise its offset |
| No chat on checkout | Expected: checkout does not load theme code | Put a help link in order confirmation emails instead |
What to set up in the first week
Installing takes minutes. Making chat worth having takes about a week of small changes.
- Day 1: write saved replies for your five most common questions. For most stores those are shipping times, order status, returns, sizing and discount codes. The canned response examples include versions for each.
- Day 2: add a short line under the greeting with your reply time, and keep it honest.
- Days 3 to 5: tag every chat by topic. Even a rough tag such as "sizing" or "where is my order" adds up quickly.
- Day 6: read the tags. If one product gets the same sizing question five times, fix the product page.
- Day 7: check response times for the week and adjust the hours you advertise if you missed them.
For more on how stores use chat beyond the install, the live chat for ecommerce page covers pre-sales chat, returns and peak-season staffing.
FAQ
Can I add live chat to Shopify without an app?
Yes. Any chat tool that gives you a JavaScript snippet works: paste it into theme.liquid above </body>. It runs on every Shopify plan and every theme, including free themes.
Is Shopify Inbox free?
Yes, Shopify lists its Inbox app as free on the App Store. It suits a single owner answering store chat. Stores with several people, or several channels, usually outgrow it and move to a shared inbox.
Will live chat slow down my Shopify store?
A well-built widget loads asynchronously, so it does not block the page from rendering. Check by running the same product page through PageSpeed Insights before and after you add the snippet.
Can I add live chat to the Shopify checkout page?
Not with a theme script, because checkout does not load theme code. Show chat on the cart page and put a help link in your order confirmation and shipping emails for questions after purchase.
How many people do I need to run live chat on a store?
One person can run it if the hours on the widget match the hours they actually watch it. Add a second person when chats regularly wait longer than the reply time you advertise, or when one person covers both chat and fulfilment at peak times.




