Install the chatbot on Shopify
Show the assistant on your Shopify store by turning on the Botello app embed in your theme, without copying any code.
- Plans
- All plans
- Roles
- Owner, Admin
- Channels
- Website
- In the admin
- Integrations › Shopify › Storefront widget
On Shopify, you don’t need to paste any code. The Botello app adds an app embed to your theme: a simple toggle in the theme editor. It stays in place when your theme is updated. Above all, the widget can then act on your store: add a product to the cart, open your theme’s cart drawer, apply a discount code, and show prices in the customer’s currency.
Shopify stores that want an assistant that can sell, not just answer questions. It works with Shopify’s recent themes (“Online Store 2.0”, such as Dawn) and most themes from the Theme Store.
Before you start
- Your store is connected to Botello through the Shopify app: see Connect your Shopify store. This connection is what passes your chatbot’s ID to your theme.
- You have access to the theme editor in the Shopify admin (store owner, or staff member with the Themes permission).
- Your assistant is ready: you have tried it in the Studio preview.
Turn on the widget
Open the theme editor from Botello
In Botello, open Integrations, then the Shopify panel. On the Storefront widget row (“Add the chat bubble to your Shopify theme”), click Open theme editor. If you have several stores, the row is in each store’s card, under Stores.
Your store’s theme editor opens in a new tab, on the App embeds tab, with Botello already selected.
Turn on the Botello Chatbot embed
In the left-hand column, find Botello Chatbot and turn on its toggle.
You can also get there without going through Botello: in the Shopify admin, go to Online StoreThemesCustomize, then click the App embeds icon in the sidebar.
Choose currency syncing
Below the toggle, the Synchroniser la devise Shopify avec le chatbot option (sync the Shopify currency with the chatbot) is unticked by default. Leave it unticked unless you have a specific reason: see Currencies and Shopify Markets.
Save
Click Save at the top right of the editor. The widget is now live on every page of your store.
Check
Open your store in a private browsing window: the bubble appears. Ask for a product, then add it to the cart from the conversation. Your theme’s cart drawer (the panel that slides in from the side) should open.
The toggle doesn’t force the bubble to show
The embed loads the widget, but the bubble only appears if your chatbot is active in Botello. Deactivating the chatbot in Botello is enough to hide the bubble, without touching the theme.
Settings
Settings for the Botello Chatbot embed in the theme editor:
| Setting | What it does | Tip |
|---|---|---|
| Botello Chatbot toggle | Loads the widget on every page of the theme. | Turn it on in the published theme. An unpublished theme has its own toggle. |
| Synchroniser la devise Shopify avec le chatbot (sync the Shopify currency with the chatbot) | Also sends the exchange rate of the active currency (Shopify Markets) to convert prices. Unticked by default. | Only tick it if your international prices are calculated from exchange rates, with no prices set manually per market. |
The chatbot ID is not a setting: it is read automatically from your store, where the app saved it when you connected.
What the widget does on Shopify
The widget detects that it is running on a Shopify store and turns on commerce-specific behaviour. No setup is needed.
| Behaviour | What happens |
|---|---|
| Add to cart | Clicking “Add to cart” in the conversation adds the variant to the store’s cart, just like the native button. If adding fails, the widget opens the cart page in a new tab. |
| Cart drawer | After adding, the widget refreshes the cart shown by the theme and opens its cart drawer if it has one, as Dawn and most popular themes do. The conversation only closes if the cart drawer actually opened. |
| View cart / Checkout | The buttons in the conversation open the cart drawer or the cart page, or take the customer to checkout. |
| Discount codes | The “Apply” button on a discount code applies it to the cart through Shopify’s /discount/… address, then shows the cart. |
| Reading the cart | The widget reads the current cart so the assistant can talk about it (“You have … in your cart”). See Opening messages. |
| Custom (headless) storefronts | If your store has a custom-built storefront (for example with Hydrogen), items are added through that storefront’s cart, and the visitor stays on your site. |
Currencies and Shopify Markets
Shopify Markets is Shopify’s tool for selling in several countries and currencies. The widget always sends the currency the visitor is using (for example EUR when a German customer browses in euros). Botello then shows the actual price that Shopify Markets set for that market: the one the customer will pay. No conversion takes place.
The Synchroniser la devise Shopify avec le chatbot option adds the exchange rate (data-currency-mode="auto" in the generated code). Botello only uses it if it doesn’t know a market price for that currency.
Prices set manually per market
If you have entered manual prices per country, don’t turn this option on: converting with an exchange rate would give amounts that differ from the cart. When left unticked, the option only affects stores without market prices, which fall back to the store’s main currency.
Examples
A Swiss store sells in CHF and EUR with Shopify Markets, and has set its euro prices manually:
Leave Synchroniser la devise Shopify avec le chatbot unticked. A German visitor sees the euro prices set in Markets, identical to those in the cart.
Tick the option “just to be safe”. The day a market price is missing, the assistant converts at the day’s rate and quotes an amount that doesn’t match the cart.
Troubleshooting
| What you see | Likely cause | Solution |
|---|---|---|
| Botello Chatbot doesn’t appear in App embeds | The Botello app isn’t installed on this store | Connect the store: see Connect your Shopify store |
| The toggle is on but the bubble doesn’t appear | The chatbot is inactive in Botello, or the store isn’t linked to a chatbot | Check that the chatbot is active; reconnect the store if needed |
| The bubble appears in preview but not on the live store | The embed is turned on in an unpublished theme | Turn it on in the published theme and save |
| The cart drawer doesn’t open after adding a product | Your theme opens its cart in an unusual way | The product has been added; the cart page opens instead. Tell us about your theme at support@botello.ch |
| Prices aren’t in the visitor’s currency | No market price for that currency | Set prices in Shopify Markets, or turn on the currency option if your prices are calculated from exchange rates |
| The bubble appears twice | The embed code was also pasted into the theme | Remove the widget.js tag from theme.liquid: the app embed is enough |