How to Add Free Live Chat to Shopify
A step-by-step guide to installing the LastWorker live chat widget on your Shopify store in under five minutes.
The short version
- →The chat script must be pasted immediately before the closing body tag in theme.liquid.
- →Live chat and email support are free forever with unlimited seats and conversations.
- →You must edit your live theme directly or the widget will not appear to your customers.
- →No credit card or subscription is required to use the shared inbox or knowledge base.
To add free live chat to Shopify, go to Online Store, Themes, then Edit code on your live theme. Open theme.liquid and paste your LastWorker script tag immediately before the closing </body> tag. Once you click save, the chat widget is live. This process works on all Shopify plans and takes about five minutes to complete.
I have spent eighteen years running operations for service businesses. I have managed a two-location restaurant group and a regional dental practice that had eleven different front desks. I know what it looks like when a customer wants to talk and no one is there to answer. In the dental world, a missed chat or a missed call is a patient who goes to the office down the street. In the restaurant business, it is a catering order that goes to your competitor.
Adding a chat widget to your Shopify store is the fastest way to stop those leaks. Many people think they need a developer to do this. You do not. You only need to know which file to open and where to paste one line of code.
How do I install the chat widget on my Shopify store?
You start by logging into your Shopify admin panel. On the left side menu, click on Online Store. A sub-menu will appear: click on Themes. This page shows your current live theme and any duplicates you have saved.
Find your live theme. Click the button with three dots or the Actions button, then select Edit code. This opens the file editor for your store. On the left sidebar, look for a folder named Layout. Inside that folder, click on the file named theme.liquid. This is the main file that controls every page on your site.
Scroll all the way to the bottom of the code. Look for the tag that looks like </body>. This is the closing tag for the body of your website. You want to paste your script tag immediately before this line.
<script src="https://lastworker.com/widget.js" data-agent-id="YOUR_AGENT_ID" async></script>
After you paste the code, click the Save button at the top right. Your chat widget is now active. You can open your website in a new window to see it appearing in the corner of the screen.
What is the common mistake most people make during installation?
The biggest problem I see is when a store owner edits a duplicate theme instead of the live one. Shopify allows you to work on new designs in the background. If you click Edit code on a theme that is not currently published, the widget will only show up in the preview mode. Your actual customers will see nothing.
I have watched business owners spend an hour troubleshooting a widget that was working perfectly on a "draft" theme while their live site was empty. Always check that the theme you are editing has the "Live" badge next to it.
There is a second part to this gotcha. If you decide to buy a new theme or upgrade your current one later, your chat widget will disappear. The script is physically written into the code of that specific theme. If you change the theme, you have to go back in and paste the script into the new theme.liquid file. I recommend keeping your script tag in a safe place so you can find it when you decide to refresh your store design.
Why should I use a free tool instead of a paid one?
I have looked at the numbers for the most popular tools on the market. Out of 12 major support platforms, 8 of them offer a free tier. However, 5 of those 12 tools limit you to 3 users or fewer. For example, Zoho Desk limits its free version to 3 users and does not include live chat. Crisp and HubSpot limit you to 2 users on their free plans.
If you have a growing team, those limits become a problem very quickly. You end up sharing passwords, which is a security risk, or you are forced into a paid plan before you are ready. LastWorker is different because the live chat and email support are free forever. This includes unlimited teammates and unlimited conversations.
I have managed teams where we had to decide who got a "seat" in the software and who had to wait for an email to be forwarded. It is a slow way to run a business. We do not charge per-seat fees or subscriptions. The shared inbox, contacts, tickets, and knowledge base are all free.
Is the chat automated or run by humans?
In my experience, customers can tell when they are talking to a robot that is trying too hard. That is why our AI is off by default. When you install this widget, nothing is generated automatically. A human on your team must answer the chat.
New channels are manual. We do not charge you for things you did not ask for. If you want a human to handle every message, it costs you nothing. If you eventually decide you want the AI to help, you can turn it on.
The costs for AI are straightforward. An AI reply on chat, email, or SMS costs $0.04. This only happens when the AI actually generates a response. If you want the AI to answer a phone call, it is $0.01 per minute, which includes the carrier cost. There is no hidden monthly fee to keep the lights on.
How does this help a business with multiple locations?
When I ran the dental practice with eleven front desks, the biggest challenge was consistency. One office would answer the phone perfectly, and another would let it go to voicemail. A shared inbox solves this.
Because we do not charge for seats, you can put every receptionist and every store manager into the same system. You can see every conversation in one place. You can use the free saved replies to make sure everyone is giving the same answers about your return policy or shipping times.
The free public help center also lets you build a knowledge base. I used to write phone scripts at 2am because I realized my team did not know how to answer basic questions. With a free help center, you can document those answers once and let your customers find them without ever needing to start a chat.
What are the actual costs of using this on Shopify?
Most tools have a "starting at" price that grows as you add features. Zendesk starts their full suite at $55 per agent. Front starts at $25 per seat. If you have five people helping with customers, you are looking at over $100 a month just to talk to your people.
Our model is different. The chat widget on your Shopify site is free. The ticketing system is free. You can have fifty employees in the dashboard and the price is still zero.
We only charge for specific utilities. If you want a dedicated phone number, it is $1 a month. If you send an outbound SMS, it is $0.03 per segment. Inbound SMS is free. You only pay for what you actually use. This allows a small Shopify store to have the same tools as a large corporation without the heavy monthly bill.
Can I manage my emails through this same widget?
Yes. The shared inbox handles both live chat and email support. When someone fills out your contact form or sends an email to your support address, it shows up in the same place as your Shopify chats.
I have seen too many good leads die in a voicemail box or a buried email folder. Centralizing these conversations in one dashboard makes it much harder to lose a customer. You can assign tickets to specific teammates and see the history of every interaction with a customer. All of this is included in the free tier because we believe the basic tools to run a business should not be gated behind a subscription.
Should I worry about the widget slowing down my site?
Speed matters for Shopify stores. If your site takes too long to load, your conversion rate drops. The script tag I provided uses the "async" attribute. This tells the browser to continue loading your product images and descriptions while the chat widget loads in the background.
It does not block your page from appearing to the customer. I have tested many tools over the years, and the most important thing is that the chat doesn't get in the way of the sale. You want it there when the customer has a question about sizing or shipping, but you don't want it to make your site feel heavy.
Once you have saved the code in your theme.liquid file, your store is ready. You can manage all your conversations from the LastWorker dashboard. You do not need to stay logged into Shopify to answer your customers. You can focus on your orders while your support team, or just you, handles the questions as they come in.--- title: "Add Free Live Chat to Shopify" description: "A practical guide to installing free live chat on Shopify. Learn the exact code placement and avoid common setup errors." date: "2026-07-25" author: "Jerry Holt" takeaways:
- "Paste the script before the </body> tag in layout/theme.liquid."
- "Live chat and email support are free forever with unlimited seats."
- "AI is off by default and only costs $0.04 per generated reply when enabled."
- "Editing a duplicate theme will prevent the widget from showing on your live site." faq:
- q: "Where do I paste the live chat code in Shopify?" a: >- You must paste the script tag in your Shopify admin under Online Store, then Themes. Select Edit Code on your live theme, open layout/theme.liquid, and paste the code immediately before the closing </body> tag.
- q: "Is there a monthly fee for LastWorker on Shopify?" a: >- No. There is no subscription and no per-seat fee. Live chat, email support, the shared inbox, and the knowledge base are free forever for unlimited users.
- q: "What happens if I change my Shopify theme?" a: >- If you switch to a new theme, you must paste the script tag into the new theme.liquid file. The code is attached to the theme files, not the Shopify account itself. related:
- free-live-chat-software
- how-to-set-up-a-help-center
- customer-retention-and-response-time
- free-support-tools-hidden-costs
To add free live chat to Shopify, go to Online Store, Themes, then Edit code on your live theme. Open theme.liquid and paste your LastWorker script tag immediately before the closing </body> tag. Once you click save, the chat widget is live. This process works on all Shopify plans and takes about five minutes to complete.
I have spent eighteen years running customer operations for service businesses. I have managed a two-location restaurant group and a regional dental practice with eleven front desks. I have hired receptionists and written phone scripts at 2am. I have also watched good leads die in a voicemail box because we were too slow to respond.
Installing a chat widget on your Shopify store is one of the fastest ways to stop those leads from disappearing. Most people think they need a developer to handle code, but this is a task you can do yourself in the time it takes to brew a cup of coffee.
How do I install the chat widget on my Shopify store?
First, log into your Shopify admin panel. Look at the left-hand sidebar and click on Online Store, then select Themes. This page shows you the theme currently visible to your customers.
On your live theme, click the button with three dots or the Actions button, then choose Edit code. This will open the file directory for your store. In the left sidebar, look under the Layout folder and click on the file named theme.liquid.
Scroll all the way to the bottom of the file. You are looking for the closing body tag, which looks like </body>. Paste your script tag immediately before that tag.
<script src="https://lastworker.com/widget.js" data-agent-id="YOUR_AGENT_ID" async></script>
Click Save in the top right corner. Your chat widget is now live. You can visit your website in a private window to see it appearing in the bottom corner of your pages.
What is the common mistake to avoid during installation?
The biggest gotcha I see is when a store owner edits a duplicate theme instead of the live one. Shopify allows you to keep multiple themes in your library. If you click Edit code on a theme that is not currently published, the widget will only appear in a preview that nobody visits.
I have seen businesses miss days of customer inquiries because they thought the widget was broken. It was not broken: it was just living on a draft version of the site. Always verify that you are editing the theme marked as "Live."
There is a second part to this. If you later decide to publish a different theme or upgrade to a new version of your current theme, you have to paste the script again. The code lives in the theme files, not in your Shopify settings. If you change the files, you lose the widget until you put the script back in.
Is the live chat really free?
In my experience, "free" in the software world usually comes with a heavy catch. I looked at twelve different support tools to see how they compare. Eight of them offer a free tier, but five of those twelve limit you to just two or three seats. For example, Crisp and Freshdesk both cap their free plans at two agents. Zoho Desk gives you three users but does not include live chat at all on the free plan.
LastWorker is different. Live chat and email support are free forever. This includes unlimited conversations and unlimited teammates. You do not need a credit card to sign up. The shared inbox, contacts, tickets, and your public help center are all included at no cost.
I have managed teams where we had to play musical chairs with software logins because we did not want to pay $20 per seat for a new hire. It is a frustrating way to work. We removed that barrier so you can have every employee on the platform without a bill.
How does the AI work if I decide to use it?
AI is off by default in our system. I have watched too many businesses get frustrated by generated text that sounds nothing like their brand. When you install the widget, nothing is generated and nothing is charged. A human answers the messages.
If you eventually decide you want help with high volume, you can turn the AI on for specific channels. We charge $0.04 per AI reply on chat, email, or SMS. We only charge you when it actually generates a response.
For phone calls, the AI can answer for $0.01 per minute, which includes the carrier cost. This is a far cry from the $25 per seat monthly fees charged by companies like Help Scout or Front. You only pay for the work the AI actually does.
Why should I use a shared inbox instead of just email?
When I ran the dental practice, we had eleven different front desks. If a patient emailed the North office but the person working that desk was out sick, the lead died. A shared inbox prevents this.
By putting your Shopify chat and your support email into one free tool, your whole team can see what needs to be done. You can assign a chat to a specific person or use saved replies to answer common questions in seconds. We include these saved replies for free because they are essential for keeping your response times low.
In the shops I worked with, response time was the number one factor in whether a customer bought from us or went to a competitor. If you wait an hour to answer an email, you have already lost. Live chat gives you the chance to close the sale while the customer is still looking at the product.
What are the costs for other channels?
While the chat widget is free, you might want to add a phone number or send text messages. We kept those prices as close to the actual cost as possible. A phone number costs $1 per month. Sending a text message is $0.03 per segment, and receiving a text message is free.
There is no subscription. You do not pay a monthly fee just to have an account. If you only use the live chat, your bill stays at zero. This is a practical approach for a small business that is still finding its footing. You should not have to pay for "synergies" or "enterprise features" you do not use.
Does this work on all Shopify plans?
Yes. Because this is a manual code installation in the theme files, it works on any version of Shopify. You do not need to be on a high-tier plan to add your own code.
I have worked with many small businesses that felt trapped by their software costs as they scaled. They would start on a free plan, but as soon as they hired a third employee, their costs would jump by $60 or $100 a month. With this setup, you can grow from one employee to fifty without the software cost increasing at all.
You get a professional ticketing system, a knowledge base, and a live chat widget for your store. It takes about five minutes to set up, and it ensures that no customer is left waiting in a voicemail box at 2am.
Frequently asked questions
Where do I paste the Shopify chat script?
You paste the script tag inside your Shopify admin. Go to Online Store, then Themes, then Edit Code. Open the theme.liquid file and paste the code immediately before the closing </body> tag at the bottom of the file.
Is the live chat really free on Shopify?
Yes. LastWorker provides live chat and email support for free. This includes unlimited conversations and unlimited teammates. You do not need to enter a credit card to use the shared inbox, tickets, or help center.
What happens if I change my Shopify theme?
The chat widget is tied to the specific theme files you edit. If you switch to a new theme or publish a different one, you will need to repeat the installation process and paste the script into the new theme.liquid file.
Jerry Holt has spent eighteen years running customer operations for service businesses, from a two-location restaurant group to a regional dental practice with eleven front desks. He has hired receptionists, written phone scripts at 2 a.m., and watched good leads die in a voicemail box. These days he writes about what actually moves the needle on the phones, in the inbox, and over chat, and where AI earns its place versus where it gets in the way.
Stop letting customers go to voicemail.
Set up in about fifteen minutes. Live chat and email are free forever, so there is no bill to weigh up before you try it.