Test and Go Live

Test the Sophi assistant on an unpublished Shopify theme copy with a preview link, publish it, assign the chat page template, roll back if needed, and fix the most common setup problems.

You test on the theme copy, against your live Sophi account, before any shopper sees it. Publishing is then one click, and undoing it is one click too.

1. Preview the copy

In the theme copy's editor, Save, then:

1 The ⋯ menu at the top. 2 Share preview copies a link that opens your store with the unpublished copy, for anyone you send it to, on any device. Preview opens it for you.

The preview is your real store with the real Sophi assistant: chats, carts and events are real, so use them freely, but stop before paying at checkout.

2. Test

Open the preview link on a computer and on a phone, and go through:

AreaCheck
LauncherShows on every page with your text and colours; opens the chat page (or the side panel). Not hidden behind other floating buttons.
BannerEach chip opens the chat and asks its question.
Product boxThe title starts a chat about this product. Choose another colour first: the chat shows that colour. The chips ask about the product.
Ask AIType in the search field, press the Ask AI button: the chat answers the same words.
Search recoverySearch for something you don't sell: the block appears with the search words in its chip.
Cart questionsWith products in the cart, the chips answer about them.
Add to cart from the chatThe confirmation appears, the cart drawer or count updates, the right size/option and price (with discounts) are in the cart.
CheckoutFrom the chat, checkout opens your Shopify checkout with the same cart. Don't pay.
ProductsAsk for a few products you know: names, prices and stock match the store.
LanguageIf your store has a language prefix (e.g. /en), cart, checkout and chat links keep it.
Cookie bannerDecline everything: the chat still works. Accept: everything works as above.
Logged inLog in as a test customer: the chat greets them by name.

What a good result looks like — the product box hands the product to the chat, and the assistant answers about it with real products:

The chat's message field with the product attached as a chip (image, brand, name) above the text field.

Product box title → the chat opens with the product attached.

The assistant's answer with three similar products, prices and add-to-cart buttons.

A chip → an answer with products, prices and add-to-cart buttons.

Tell the Sophi team when you've tested. We check that the events arrived and that the purchase pixel is in place.

3. Publish

When it's right, go to Online Store → Themes, open the copy's menu and select Publish. Then assign the chat template, which is now available:

  1. Online Store → Pages → your chat page.
  2. Theme template → sophi.
  3. Save.

Open the chat page once more on the live store to check it.

Rolling back

To undo, publish your previous theme again: it is unchanged under Draft themes. To hide Sophi without switching themes, switch off the Sophi assistant embed and save: the launcher, the blocks and the search button all disappear with it.

Go-live checklist

  1. App installed with all six permissions
  2. Credentials sent; first catalog import done, products visible in the Sophi platform
  3. All storefront domains sent to Sophi
  4. Sophi assistant embed on: API key, Production, chat page, texts in your language
  5. Send storefront events to Sophi on
  6. Blocks placed and their chips rewritten for your catalog
  7. Purchase pixel created by Sophi
  8. Preview tested on desktop and phone
  9. Theme published, sophi template assigned to the chat page
  10. Optional: menu link to the chat page

Troubleshooting

ProblemCause and fix
Nothing from Sophi shows on the storeThe Sophi assistant embed is off, or its Sophi API key is empty. Both are in App embeds.
The launcher shows but the chat doesn't open or stays emptyThe domain the shopper is on isn't on Sophi's list for your store. Send us every domain, with and without www.
The page isn't listed in Chat pageThe page is hidden. Set it to Visible (Online Store → Pages).
The sophi template isn't listed on the pageThe template belongs to the theme copy; it's listed after you publish it. Until then the chat still appears at the end of the page.
The chat page shows the page title or an empty box above the chatThe sophi template's Page section isn't hidden. See Give it a chat template.
After a chat add-to-cart the cart count or drawer doesn't updateSet After chat add-to-cart to Open the cart page or Reload the page.
The launcher covers another buttonRaise Launcher distance from bottom, or move it with Side.
A colour shows up as a separate option instead of separate productsThe colour option has an unusual name. Add it to Colour option names, and tell Sophi the same name.
Products, prices or stock are out of dateThe sync runs every hour. If it's longer, check that the app is still installed and the client secret wasn't rotated, then contact us.
No events or purchases in SophiSend storefront events is off, the Environment isn't Production, or the shopper declined analytics cookies.
A permission is missing on the install screenUninstall the app, have the configuration fixed, and install again. See Before you start.

Still stuck? Contact the Sophi team with your store address and a link to the page.

On this page