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.
I pulsanti della chat vengono visualizzati sulle pagine del tuo negozio e aprono la chat. Per visualizzare un campo di testo nella parte inferiore del negozio, consulta la sezione Scegli lo stile della barra dei messaggi. I pulsanti della chat sono diversi dal widget della chat che apre la finestra, dalle risposte immediate e dalle domande e dai suggerimenti visualizzati all'interno della finestra della chat. Puoi configurare i pulsanti della chat con Sidekick dalla pagina Panoramica in Inbox. Sidekick crea pulsanti della chat che si adattano al tuo tema, in modo da visualizzarli in anteprima e salvarli nell'editor del tema. Per maggiori informazioni su Sidekick, consulta Iniziare a usare 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.
- Pagina di ricerca: domande generate per ogni ricerca. Sul tuo negozio online, i pulsanti vengono visualizzati dopo che un cliente effettua una ricerca. Se le domande non vengono generate in tempo, vengono mostrate le domande predefinite. L'anteprima dell'editor del tema mostra le domande predefinite.
Puoi fornire a Sidekick il testo personalizzato per i pulsanti di qualsiasi tipo di pagina. Per quel blocco, il testo fornito viene utilizzato al posto delle domande salvate o generate. Questo non modifica le domande salvate sui tuoi prodotti o sulle tue collezioni.
Questions for products and collections
Per impostazione predefinita, i pulsanti della chat di prodotti e collezioni usano le domande salvate su ogni prodotto o collezione. Se per alcuni dei tuoi prodotti o delle tue collezioni non ci sono domande, Sidekick ti offre le opzioni seguenti:
- Sidekick scrive le domande per i prodotti o le collezioni che ne sono privi. Sidekick scrive le domande solo per i prodotti attivi e non sovrascrive quelle esistenti. Se hai rimosso ogni domanda da un prodotto o da una collezione, Sidekick lo ignora e dovrai aggiungere le domande manualmente.
- Sidekick adds chat buttons only to products or collections that already have questions.
Quando i pulsanti della chat usano domande salvate, un prodotto o una collezione senza domande non mostra la sezione dei pulsanti della chat, inclusa la relativa intestazione.
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:
- Intestazione: il testo che introduce i pulsanti. L'intestazione predefinita è Hai una domanda?. Lascialo vuoto per nasconderla.
- Numero di pulsanti: il numero di pulsanti da mostrare, da 1 a 4. Quando i pulsanti della chat di prodotti e collezioni usano le domande salvate, l'impostazione limita il numero di domande visualizzate.
- 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:
- Stile: stabilisce se i pulsanti utilizzano lo stile primario o secondario del tema. I pulsanti seguono i colori e la forma dello stile scelto e non hanno impostazioni di colore o forma separate.
- Mostra icona: stabilisce se visualizzare un'icona su ogni pulsante. L'opzione è disattivata per impostazione predefinita.
- Icona: l'icona da mostrare. Questa impostazione è disponibile solo sui temi che supportano le icone, come Horizon. Le opzioni dipendono dal tuo tema e possono includere Fumetto della chat, Punto interrogativo, Cuore, Stella e Fulmine.
- Spaziatura interna superiore e Spaziatura interna inferiore: lo spazio sopra e sotto i pulsanti, da 0 a 100 px. Il valore predefinito è 0.
Sulla tua homepage, ogni pulsante ha un'unica etichetta, che rappresenta sia il testo del pulsante sia la domanda inviata all'agente Inbox. Il testo del pulsante della homepage può contenere fino a 50 caratteri. Un pulsante con testo vuoto o più lungo di 50 caratteri non viene visualizzato. Per i testi superiori a 50 caratteri, l'editor del tema mostra un suggerimento.
Sulla tua pagina di ricerca, un singolo pulsante ha una domanda predefinita, ma non ha un'intestazione, un numero di pulsanti o un 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.
Puoi anche chiedere a Sidekick nell'editor del tema di cambiare le impostazioni disponibili per il blocco. Ad esempio, puoi chiedergli di impilare i pulsanti, usare lo stile secondario del tema o modificare intestazione, spaziatura interna o icona. Controlla le modifiche e clicca su Salva.
Edit questions for products and collections
Nel pannello di controllo Shopify puoi aggiungere, modificare, rimuovere o modificare l'ordine delle domande su un prodotto o su una collezione. Ogni prodotto o collezione può avere fino a 4 domande, il cui ordine definisce anche quello dei pulsanti della chat. Se riutilizzi la stessa voce della domanda salvata su più prodotti o collezioni, la sua modifica verrà applicata ovunque.
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.
Risoluzione dei problemi relativi ai pulsanti della chat non visualizzati
Se i pulsanti della chat non vengono visualizzati, verifica questi elementi:
- Assicurati che la chat del negozio online sia attiva. I pulsanti della chat sono nascosti se l'incorporazione app Chat del negozio online è disattivata.
- Sulle pagine di prodotti e collezioni che usano domande salvate, assicurati che l'articolo abbia domande salvate. In assenza di domande, l'intera sezione, inclusa la relativa intestazione, non viene visualizzata.
- Per i pulsanti della homepage, assicurati che ogni etichetta contenga del testo e non superi i 50 caratteri.
- Sulla pagina di ricerca, completa una ricerca per mostrare i pulsanti. L'anteprima dell'editor del tema mostra le domande predefinite.
- Assicurati di aver salvato le modifiche al tema. Se hai modificato un tema non pubblicato, pubblica il tema per mostrare i pulsanti sul tuo negozio online.