The short answer
Copy your ChatOnTime widget code, then in Shopify go to Online Store → Themes → … → Edit code, open Layout → theme.liquid and paste the code just above </body>. Save, and the chat bubble appears across your store.
Before you start
- A ChatOnTime account (the 4-day trial needs no card).
- Your widget code, from Installation in the ChatOnTime dashboard. It is one line and already holds your workspace key.
- Access to your Shopify admin with permission to edit themes.
- A duplicate of your live theme as a backup (… → Duplicate) — Shopify recommends this before editing code.
The code you will paste
It looks like this. Copy yours from Installation in ChatOnTime: it already holds your own workspace key.
<script src="https://chatontime.com/widget.js" data-workspace="YOUR-WORKSPACE-KEY" async></script>
Step by step
Copy your widget code
In ChatOnTime, open Installation and click the copy button next to your widget code.
Open the code editor
In Shopify admin, go to Online Store → Themes. Next to your current theme, click the … button and choose Edit code.
Open theme.liquid
In the Layout folder, click
theme.liquid. This file wraps every page of your store.Paste above </body> and save
Find the closing
</body>tag near the end of the file, paste your widget code on the line just above it, and click Save.Check it
Open your store in a private window. The chat bubble shows in the bottom corner, and Installation in ChatOnTime turns “Connected”.
Check that it worked
- Open your website in a private window and look for the chat bubble in the bottom corner.
- Send yourself a test message and answer it from the ChatOnTime inbox.
- In ChatOnTime, Installation shows “Connected” once the widget has been seen on your site.
Checked October 2026 against each provider’s own help pages. Menus move — if a label differs on your screen, look for the nearest match.
Problems and questions
The chat bubble does not appear
It says the widget is not allowed on this domain
The chat vanished after a theme update
Do I need a Shopify app for live chat?
Will the chat show at checkout?
Can I undo it?
Sources: help.shopify.com/en/manual/online-store/themes/customizi...
Built and run by Workaholic Developers.