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.
Os botóns de chat móstranse nas páxinas da túa tenda e abren o chat. Para mostrar un campo de texto na parte inferior da túa tenda, consulta Escoller o estilo da barra de mensaxes. Os botóns de chat son diferentes do widget de chat que abre a xanela de chat, das respostas instantáneas e das preguntas e suxestións que se mostran dentro da xanela de chat. Os botóns de chat configúranse con Sidekick desde a páxina Visión xeral en Inbox. Sidekick crea botóns de chat que coinciden co teu tema, os cales podes previsualizar e gardar no editor de temas. Para obter máis información sobre Sidekick, consulta Comezar a usar 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.
- Páxina de busca: preguntas que se xeran para cada busca. Na túa tenda en liña, os botóns móstranse despois de que un cliente faga unha busca. Se as preguntas non se xeran a tempo, móstranse as preguntas predeterminadas. A previsualización do editor de temas mostra as preguntas predeterminadas.
Podes indicarlle a Sidekick o teu propio texto para o botón en calquera tipo de páxina. Para ese bloque, o texto que indiques utilízase en lugar das preguntas gardadas ou xeradas. Isto non altera as preguntas gardadas nos teus produtos ou coleccións.
Questions for products and collections
Por defecto, os botóns de chat de produtos e coleccións utilizan as preguntas que están gardadas en cada produto ou colección. Se algúns dos teus produtos ou coleccións non teñen preguntas, Sidekick ofréceche as seguintes opcións:
- Sidekick escribe preguntas para os produtos ou coleccións que non teñen ningunha. Sidekick só escribe preguntas para produtos activos e non sobrescribe as existentes. Se eliminaches todas as preguntas dun produto ou colección, Sidekick omíteo e terás que engadir ti as preguntas.
- Sidekick adds chat buttons only to products or collections that already have questions.
Cando os botóns de chat utilizan preguntas gardadas, un produto ou colección sen preguntas non mostra unha sección de botóns de chat, incluído o seu título.
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:
- Título: o texto que introduce os botóns. O título predeterminado é Tes algunha pregunta?. Déixao en branco para ocultalo.
- Número de botóns: o número de botóns para mostrar, do 1 ao 4. Cando os botóns de chat de produtos e coleccións utilizan preguntas gardadas, isto limita a cantidade de preguntas que se mostran.
- 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:
- Estilo: indica se os botóns utilizan o estilo de botón principal ou secundario do teu tema. Os botóns seguen as cores e a forma dese estilo e non teñen opcións de configuración separadas.
- Mostrar icona: indica se se mostra unha icona en cada botón. Está desactivado de forma predeterminada.
- Icona: a icona para mostrar. Esta configuración só está dispoñible nos temas que admiten iconas, como Horizon. As opcións dependen do teu tema e poden incluír Burbulla de chat, Signo de interrogación, Corazón, Estrela e Raio.
- Recheo superior e Recheo inferior: o espazo enriba e debaixo dos botóns, de 0 a 100 px. O valor predeterminado de cada un é 0.
Na túa páxina de inicio, un único botón ten unha etiqueta. A etiqueta é tanto o texto do botón como a pregunta que se envía ao teu axente de Inbox. O texto dos botóns da páxina de inicio pode ter un máximo de 50 caracteres. Non se mostra un botón cun texto en branco ou con máis de 50 caracteres. Para os textos que superen os 50 caracteres, o editor de temas mostra unha suxestión.
Na túa páxina de busca, un único botón ten unha pregunta predeterminada. Un único botón non ten título, cantidade de botóns nin deseño.
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.
Tamén podes pedirlle a Sidekick no editor de temas que cambie a configuración dispoñible do bloque. Por exemplo, pídelle que apile os botóns, que use o estilo de botón secundario do teu tema ou que cambie o título, o recheo ou a icona. Revisa os cambios e, a continuación, fai clic en Gardar.
Edit questions for products and collections
Podes engadir, editar, eliminar ou reordenar as preguntas sobre un produto ou colección no teu administrador de Shopify. Cada produto ou colección pode ter ata 4 preguntas, e a orde das preguntas establece a orde dos botóns de chat. Se reutilizas a mesma entrada de pregunta gardada en máis dun produto ou colección, a edición desa entrada cambiará en todas partes onde se utilice.
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.
Solucionar problemas cos botóns de chat que non se mostran
Se os teus botóns de chat non se mostran, comproba estes elementos:
- Asegúrate de que o chat da tenda en liña estea activado. Os botóns de chat ocúltanse cando a inserción de aplicación do Chat da tenda en liña está desactivada.
- Nas páxinas de produtos e coleccións que utilizan preguntas gardadas, asegúrate de que o artigo teña preguntas gardadas. Se non ten preguntas, entón non se mostrará a sección enteira, incluído o seu título.
- Para os botóns da páxina de inicio, asegúrate de que cada etiqueta teña texto e de que non supere os 50 caracteres.
- Na túa páxina de busca, completa unha busca para mostrar os botóns. A previsualización do editor de temas mostra preguntas predeterminadas.
- Asegúrate de ter gardado os cambios no tema. Se editaches un tema sen publicar, entón publica o tema para mostrar os botóns na túa tenda en liña.