Installation
Shopify Installation
Add localbot to your Shopify store by editing the theme code.
Add localbot to your Shopify store by editing the theme code.
Time: Under 2 minutes
Steps
Open the theme code editor
In your Shopify admin, go to Online Store → Themes. Click the ⋯ menu on your active theme and select Edit code.
Edit theme.liquid
In the left sidebar, open the Layout folder and click theme.liquid. Scroll to the bottom of the file and find the </body> tag. Paste the embed code directly above it:
<script src="https://localbot.io/api/widget/YOUR_WIDGET_ID" async></script>
</body>Save
Click Save. The widget is now active across your entire store.
Verify
Open your Shopify store in a browser. The contact form should appear. Submit a test message and check your phone.
Troubleshooting
- Can't find theme.liquid: Make sure you're in the Layout folder, not Sections or Templates.
- Widget doesn't appear: Clear your browser cache or try an incognito window. Shopify aggressively caches pages.
- Want it on specific pages only: Add the
<div id="localbot-contact"></div>to a specific template instead. See the HTML guide.