Install
Install on Shopify
Add the generated Chat4U snippet to the active Shopify theme layout.
1 min read
Where to do this in Chat4U
- Project
- Assistant
- Install code
Open the intended assistant and select Install code before adding the generated script to the live Shopify theme.
Look forAssistantInstall codeCopy
Open Chat4U What you’ll accomplish
Install the generated code in the active theme, then prove it works on the published storefront.
- Finish with
- A widget in the Shopify theme visitors actually receive
Edit the active themeOpen the published theme’s `theme.liquid`, not an inactive draft.
In Shopify’s theme code editor, open the active theme’s
theme.liquidlayout file.Paste and save the exact snippetPlace the complete generated code immediately before `</body>`.
Keep a record with the theme change; do not modify or partly copy the snippet.
Test the published storefrontUse an allowed visitor hostname, not only a theme preview.
If another theme becomes active later, repeat the installation in that published theme.
Last updated on