Adding chat buttons to your online store for Shopify Inbox
You can add chat buttons to your online store pages so that customers can start a conversation from the page that they're viewing. When a customer clicks a chat button, the Inbox chat opens and sends the question on that button to your Inbox agent. You can add a single button, or a section of up to 4 buttons, to your home page, collection pages, product pages, search page, or another page that you choose.
Chatknapper vises på butikksidene og åpner chatten. Hvis du vil vise et tekstfelt nederst i butikken, kan du se Velg stil for meldingslinje. Chatknapper er noe annet enn chat-widgeten som åpner chat-vinduet, hurtigsvar og spørsmålene og forslagene som vises i chat-vinduet. Du konfigurerer chatknapper med Sidekick fra siden Oversikt i Post. Sidekick oppretter chatknapper som matcher temaet, og du kan forhåndsvise og lagre dem i temaredigeringsprogrammet. For mer informasjon om Sidekick, se Kom i gang med Sidekick.
On this page
Requirements for adding chat buttons to your online store
Before you add chat buttons to your online store, you need to meet the following requirements:
- You need to turn on the Inbox agent.
- You need to turn on online store chat.
- You need to have Sidekick available in your Shopify admin. Refer to considerations for using Sidekick.
- You're the store owner, or you have the Edit code permission.
- Your theme isn't a theme trial or a theme that's locked because of a licensing issue. Refer to unlicensed themes.
- The page that you add chat buttons to uses a template that supports theme blocks. Vintage themes don't support theme blocks. Refer to theme architecture version features.
Questions on chat buttons
Each chat button sends a question to your Inbox agent. Where the question comes from depends on the type of page that the chat button is displayed on:
- Home page and other pages that you choose: Questions that Sidekick suggests for your store, or questions that you write. You can change them in the theme editor.
- Collection pages: Each collection's own questions. Each collection can have up to 4 questions.
- Product pages: Each product's own questions. Each product can have up to 4 questions.
- Søkeside: Spørsmål som genereres for hvert søk. I nettbutikken vises knappene etter at en kunde har søkt. Hvis spørsmålene ikke genereres i tide, vises standardspørsmål. Forhåndsvisningen i temaredigeringsprogrammet viser standardspørsmålene.
Du kan gi Sidekick en egen knappetekst for alle sidetyper. For denne blokken brukes teksten du oppgir, i stedet for lagrede eller genererte spørsmål. Dette endrer ikke spørsmålene som er lagret for produktene eller samlingene dine.
Questions for products and collections
Som standard bruker chatknapper for produkter og samlinger spørsmålene som er lagret for hvert enkelt produkt eller hver enkelt samling. Hvis noen av produktene eller samlingene ikke har spørsmål, gir Sidekick deg følgende alternativer:
- Sidekick skriver spørsmål for produkter eller samlinger som mangler dette. Sidekick skriver bare produktspørsmål for aktive produkter. Sidekick overskriver ikke eksisterende spørsmål. Hvis du har fjernet alle spørsmålene fra et produkt eller en samling, hopper Sidekick over dette, og du må legge til spørsmålene selv.
- Sidekick adds chat buttons only to products or collections that already have questions.
Når chatknapper bruker lagrede spørsmål, vises det ikke noen seksjon med chatknapper (inkludert overskriften) for produkter og samlinger som mangler spørsmål.
If you have a large product catalog, then it might take time to write questions for each product and collection. Sidekick displays an estimate of how long it takes. Writing can stop before every product or collection has questions.
If some questions are missing, then you can add the questions yourself, or run Sidekick again. Sidekick skips products and collections that already have questions.
If the page already has chat buttons, then skip the final link to the theme editor. Alternatively, discard the new chat buttons instead of saving them.
Add chat buttons to a page
You can add a single button or a section of chat buttons. A single button sends one question. A section of chat buttons has a heading and up to 4 buttons, and each button sends its own question.
If you click a chat button in the theme editor, then it starts a real conversation. The conversation is displayed in your Inbox.
Steps:
From your Shopify admin, go to Sales channels > Inbox.
Click Overview.
In the Help shoppers buy with confidence banner, click Add questions.
In the Sidekick panel, select where on your store you want the buttons: the home page, collection pages, product pages, or the search page. To use another page, such as your FAQ page, enter its name instead.
Select whether you want a single button or a section with up to 4 buttons.
For product or collection pages with missing questions, select whether Sidekick writes the questions or adds buttons only where questions already exist. Questions that Sidekick writes are saved to your products and collections right away, even if you don't save the theme changes.
Follow the link from Sidekick to open the theme editor.
Make sure that the theme editor is displaying the page that you selected in Sidekick. In the Generate block panel, review the prompt that Sidekick prepared, and then press Enter or click
. Sidekick generates the chat buttons and displays them in a preview.
Review the chat buttons, and then click Save. If you're editing your published theme, then the chat buttons are live after you save. If you're editing an unpublished theme, then the chat buttons are live after you publish the theme.
Customize chat buttons
You can change the settings of your chat buttons in the theme editor. Sidekick adds the chat buttons as a block in a new section.
Sidekick creates the settings for your chat buttons, so the setting names can differ by theme. A section of chat buttons usually has the following settings:
- Overskrift: Teksten som introduserer knappene. Standardoverskriften er Har du et spørsmål?. La feltet stå tomt for å skjule overskriften.
- Antall knapper: Antall knapper som skal vises, fra 1 til 4. Når chatknapper for produkter og samlinger bruker lagrede spørsmål, begrenser dette hvor mange spørsmål som vises.
- Layout: Whether the buttons are displayed in a row or stacked.
- Questions: On your home page and other pages that you choose, the question for each button. On your search page, the default questions that are displayed when questions aren't generated for a search.
Chat buttons, including a single button, usually also have the following settings:
- Stil: Hvorvidt knappene bruker temaets primære eller sekundære knappestil. Knappene følger fargene og formen til denne stilen, og har ikke egne innstillinger for farge eller form.
- Vis ikon: Hvorvidt et ikon skal vises på hver knapp. Dette er slått av som standard.
- Ikon: Ikonet som skal vises. Denne innstillingen er bare tilgjengelig i temaer med støttede ikoner, for eksempel Horizon. Valgene avhenger av temaet, og kan omfatte Snakkeboble, Spørsmålstegn, Hjerte, Stjerne og Lyn.
- Utfylling øverst og Utfylling nederst: Avstanden over og under knappene, fra 0 til 100 px. Standardverdien for begge er 0.
På startsiden har én enkelt knapp én etikett. Etiketten er både teksten på knappen og spørsmålet som sendes til Inbox-agenten. Knappeteksten på startsiden kan ha opptil 50 tegn. En knapp med tom tekst eller tekst som er lengre enn 50 tegn, vises ikke. For tekst med mer enn 50 tegn vises det et hint i temaredigeringsprogrammet.
På søkesiden har én enkelt knapp ett standardspørsmål. En enkeltknapp har verken overskrift, et definert antall knapper eller en bestemt layout.
Steps:
From your Shopify admin, go to Online Store.
Click Edit theme next to the theme that you want to edit.
Open the template that has your chat buttons. To open a different template, click the Home page drop-down menu, and then select the template.
In the theme editor sidebar, click the section or block that holds your chat buttons.
Change the settings.
Click Save.
Du kan også be Sidekick i temaredigeringsprogrammet om å endre blokkens tilgjengelige innstillinger. Du kan for eksempel be om å stable knappene, bruke temaets sekundære knappestil, eller endre overskrift, utfylling eller ikon. Se gjennom endringene, og klikk på Lagre.
Edit questions for products and collections
Du kan legge til, redigere, fjerne eller endre rekkefølgen på spørsmålene for et produkt eller en samling i Shopify-administratoren. Hvert produkt eller hver samling kan ha opptil fire spørsmål, og rekkefølgen på spørsmålene bestemmer rekkefølgen på chatknappene. Hvis du gjenbruker den samme lagrede spørsmålsoppføringen på mer enn ett produkt eller én samling, vil endringer i oppføringen gjelde overalt hvor den brukes.
Steps:
From your Shopify admin, go to Products.
Click the product that you want to edit. To edit a collection, click Collections, and then click the collection.
Edit Conversation starters. On a product, this field is in the Product metafields section. On a collection, it's in the Metafields section. If Conversation starters isn't displayed, then click View all. You can add up to 4 questions.
Click Save.
Remove chat buttons from a page
To stop displaying chat buttons on a page, remove the section or block from your theme in the theme editor. For more ways to remove a section, refer to Removing sections and blocks.
Steps:
From your Shopify admin, go to Online Store.
Click Edit theme next to the theme that you want to edit.
Open the template that has your chat buttons. To open a different template, click the Home page drop-down menu, and then select the template.
In the theme editor sidebar, click the section or block that holds your chat buttons.
Click Remove section or Remove block.
Click Save.
Feilsøk chatknapper som ikke vises
Sjekk følgende hvis chatknappene ikke vises:
- Sørg for at nettbutikkchat er slått på. Chatknapper skjules når appinnebyggingen for Nettbutikkchat er slått av.
- På produkt- og samlingssider som bruker lagrede spørsmål, må du sørge for at varen har lagrede spørsmål. Hvis den ikke har spørsmål, vises ikke hele seksjonen, inkludert overskriften.
- For knapper på startsiden må du sørge for at hver etikett har tekst og ikke er lengre enn 50 tegn.
- På søkesiden må du fullføre et søk for å vise knappene. Forhåndsvisningen i temaredigeringsprogrammet viser standardspørsmål.
- Sørg for at du har lagret endringene i temaet. Hvis du har redigert et upublisert tema, må du publisere temaet for å vise knappene i nettbutikken.