Shopify
A complete guide to integrate the InBe widget within your Shopify website.
This guide will help you add the InBe widget to your Shopify store using the Script Editor.
Add the widget container
- In your Shopify admin, go to Online Store → Themes
- Click Actions → Edit code on your active theme
- Navigate to the template where you want to add the widget (e.g.,
index.liquid
,product.liquid
) - Add the container element where you want the widget to appear:
Add the widget scripts
- In your Shopify admin, go to Settings → Checkout and accounts
- Scroll down to Order status page section
- In the Additional scripts field, add both script tags:
- Click Save
Alternative: Using theme.liquid
If you prefer to add the scripts to your theme directly:
- In your theme editor, open
theme.liquid
- Add the scripts just before the closing
</body>
tag:
Publish your changes
- Save your theme changes
- Visit your store to see the widget
Important Notes
Make sure to replace YOUR_PUBLIC_API_KEY
with your actual API key. The
widget will appear where you placed the container element - You can add the
container to any template file (index.liquid, product.liquid, etc.)
Troubleshooting
If the widget doesn't appear: 1. Ensure the container element exists on the page, 2. Check that your API key is correct, 3. Try clearing your browser cache, 4. Make sure both script tags are properly added.