How to add live chat to a Shopify store
Updated July 18, 2026
Add AI-first chat to Shopify with one snippet in theme.liquid — no app-store install, with the honest trade-offs of going app-free spelled out.
Shopify pushes you toward the App Store for everything, and for apps that touch orders, inventory, or checkout, that's right. Chat is different: the widget is a script the vendor serves regardless, and an app wrapper mainly adds review-process lag and sometimes per-order pricing. If the chat tool you want isn't in the App Store — Dchat isn't — the theme.liquid route is the supported path, and it's a five-minute job.
The steps: in Shopify admin, go to Online Store → Themes, click the ⋯ menu on your current theme → Edit code. Open layout/theme.liquid, find the closing </body> tag near the bottom, and paste the widget snippet on the line above it. Save. Because theme.liquid wraps every storefront page, the launcher now appears store-wide — product pages, collections, cart, blog.
Verify in a private window: launcher renders bottom-right, opens, and answers a test question. If nothing appears, the usual suspects are pasting into the wrong theme (edit the live one, or duplicate first and test on the copy — safer), or an app like a cookie bar occupying the same corner. One Shopify-specific caveat: checkout pages don't run theme.liquid scripts on most plans — Shopify locks checkout markup — so expect the widget everywhere except checkout, and treat that as platform behavior, not a broken install.
Theme updates are the maintenance gotcha. Shopify theme updates work by installing a new theme version — your edits to the old theme.liquid don't carry over automatically. Make the snippet part of your theme-update checklist (it's one paste), or if your theme supports it, add the script via a custom-liquid section in the theme editor instead, which some themes preserve more gracefully.
Now the honest trade-offs of going app-free. No App Store billing — you pay the chat vendor directly, with no per-order cut. No uninstall automation — removing the widget means deleting the snippet, which is also the whole uninstall. And critically: no native order data. A script-tag widget doesn't know who the customer is or what they ordered, so 'where is my order?' should be a question your AI answers with your policy article and then hands to a human, not something it pretends to look up. Configure the handoff keywords accordingly.
That last limitation is worth sitting with: if your support volume is dominated by order-status lookups, a Shopify-native chat app with order integration may serve you better than any script-tag tool. If your volume is pre-sales questions, sizing, shipping policy, and 'talk to a person' — the AI-plus-handoff loop covers it, and the widget stays independent of your theme, your apps, and Shopify's platform politics.
In Shopify admin: Online Store → Themes → Edit code → theme.liquid, paste the widget snippet before </body>, save, and the chat launcher appears storefront-wide.
Going app-free means no App Store review overhead and no per-order fees, but also no native cart or order-data actions — the AI answers from your knowledge base, and order-specific questions should route to a human.
Dchat is not in the Shopify App Store; treat this as a script-tag integration. Test checkout pages separately, since some themes exclude custom scripts there.