Add an AI Chat Widget to Shopify in One Script Tag
Shopify’s app store is full of chat tools with monthly app fees stacked on top of your theme. If you only need an AI chat bubble, ChatLM installs like analytics: one script in the theme, no extra Shopify app charge from us.
Install in the theme footer
- In ChatLM, copy your embed script from the dashboard.
- Shopify admin → Online Store → Themes → Edit code.
- Open
theme.liquid(or your footer snippet) and paste the script just before</body>. - Save, then preview on a product page — not only the theme editor iframe.
Allowed Origins
Add your myshopify.com URL and the custom domain:
https://your-store.myshopify.com
https://yourdomain.com
https://www.yourdomain.com
Checkout is a separate Shopify-hosted surface; start with storefront pages (home, collections, products, cart) where the theme script actually runs.
Prompt ideas for stores
List top SKUs, shipping countries, and “we don’t price-match” if that’s policy. Point the model at your FAQ page URL in the prompt so it prefers official copy.
Cache and apps
If the bubble is missing for guests, purge Shopify’s cache and any speed app that strips scripts. Test in a private window while logged out.
More platforms: WordPress · generic HTML: 5-minute guide.