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.

Els botons del xat es mostren a les pàgines de la teva botiga i obren el xat. Per mostrar un camp de text a la part inferior de la botiga, consulta Tria l'estil de la barra de missatges. Els botons del xat són diferents del giny del xat que obre la finestra del xat, de les respostes instantànies i de les preguntes i suggeriments que es mostren dins la finestra del xat. Configura els botons del xat amb Sidekick des de la pàgina Informació general a Shopify Inbox. Sidekick crea botons de xat que coincideixen amb el teu tema, i pots previsualitzar-los i desar-los a l'editor de temes. Per obtenir més informació sobre Sidekick, consulta Primers passos amb Sidekick.

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:

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àgina de cerca: preguntes que es generen per a cada cerca. A la teva botiga en línia, els botons es mostren un cop el client fa una cerca. Si les preguntes no es generen a temps, es mostren les preguntes predeterminades. La previsualització de l'editor de temes mostra les preguntes predeterminades.

Pots proporcionar a Sidekick el teu propi text del botó per a qualsevol tipus de pàgina. Per a aquest bloc, s'utilitza el text que proporcionis en lloc de les preguntes desades o generades. Això no modifica les preguntes desades als teus productes o col·leccions.

Questions for products and collections

Per defecte, els botons del xat de productes i col·leccions utilitzen les preguntes que es desen a cada producte o col·lecció. Si alguns dels teus productes o col·leccions no tenen preguntes, Sidekick t'ofereix les opcions següents:

  • Sidekick escriu preguntes per als productes o col·leccions que no en tenen cap. Sidekick només escriu preguntes de productes per als productes actius. Sidekick no sobreescriu les preguntes existents. Si elimines totes les preguntes d'un producte o col·lecció, Sidekick l'ometrà i hauràs d'afegir-hi les preguntes manualment.
  • Sidekick adds chat buttons only to products or collections that already have questions.

Quan els botons del xat utilitzen preguntes desades, un producte o col·lecció sense preguntes no mostra cap secció de botons del xat, ni tan sols l'encapçalament.

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:

  1. From your Shopify admin, go to Sales channels > Inbox.

  2. Click Overview.

  3. In the Help shoppers buy with confidence banner, click Add questions.

  4. 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.

  5. Select whether you want a single button or a section with up to 4 buttons.

  6. 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.

  7. Follow the link from Sidekick to open the theme editor.

  8. 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 Send. Sidekick generates the chat buttons and displays them in a preview.

  9. 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:

  • Encapçalament: el text que introdueix els botons. L'encapçalament predeterminat és Have a question?. Deixa'l en blanc per ocultar l'encapçalament.
  • Nombre de botons: el nombre de botons que s'han de mostrar, de l'1 al 4. Quan els botons del xat de producte i col·lecció utilitzen preguntes desades, s'aplica com a límit de quantes preguntes es mostren.
  • 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:

  • Estil: determina si els botons utilitzen l'estil de botó principal o secundari del teu tema. Els botons segueixen els colors i la forma d'aquest estil i no tenen cap configuració independent de color o forma.
  • Mostra la icona: determina si es mostra una icona a cada botó. Aquesta opció està desactivada per defecte.
  • Icona: la icona que es mostrarà. Aquesta configuració només està disponible als temes que admeten icones, com ara Horizon. Les opcions depenen del teu tema i poden incloure Bafarada de xat, Signe d'interrogació, Cor, Estrella i Llamp.
  • Marge intern superior i Marge intern inferior: l'espai per sobre i per sota dels botons, de 0 a 100 px. El valor predeterminat de cadascun és 0.

A la teva pàgina d'inici, un botó individual té una sola etiqueta. L'etiqueta és tant el text del botó com la pregunta que s'envia a l'agent d'Inbox. El text del botó de la pàgina d'inici pot tenir fins a 50 caràcters. Si un botó té el text en blanc o de més de 50 caràcters, no es mostra. Si el text supera els 50 caràcters, l'editor de temes mostra un suggeriment.

A la teva pàgina de cerca, un botó individual té una pregunta predeterminada. Un botó individual no té encapçalament, un nombre de botons, ni un disseny.

Steps:

  1. From your Shopify admin, go to Online Store.

  2. Click Edit theme next to the theme that you want to edit.

  3. 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.

  4. In the theme editor sidebar, click the section or block that holds your chat buttons.

  5. Change the settings.

  6. Click Save.

A l'editor de temes, també pots demanar a Sidekick que canviï la configuració disponible del bloc. Per exemple, demana-li que apili els botons, que utilitzi l'estil de botó secundari del teu tema o que canviï l'encapçalament, el marge intern o la icona. Revisa els canvis i, a continuació, fes clic a Desa.

Edit questions for products and collections

Pots afegir, editar, eliminar o reordenar les preguntes d'un producte o col·lecció al teu panell d'administració de Shopify. Cada producte o col·lecció pot tenir fins a 4 preguntes, i l'ordre de les preguntes estableix l'ordre dels botons del xat. Si reutilitzes la mateixa entrada de pregunta desada en més d'un producte o col·lecció, l'edició de l'entrada l'actualitzarà a tots els llocs on s'utilitzi.

Steps:

  1. From your Shopify admin, go to Products.

  2. Click the product that you want to edit. To edit a collection, click Collections, and then click the collection.

  3. 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.

  4. 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:

  1. From your Shopify admin, go to Online Store.

  2. Click Edit theme next to the theme that you want to edit.

  3. 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.

  4. In the theme editor sidebar, click the section or block that holds your chat buttons.

  5. Click Remove section or Remove block.

  6. Click Save.

Resoldre problemes amb els botons del xat que no es mostren

Si no es mostren els teus botons del xat, comprova aquests elements:

  • Assegura't que el xat de la botiga en línia estigui activat. Els botons del xat s'oculten quan l'element incrustat del Xat de la botiga en línia està desactivat.
  • A les pàgines de productes i col·leccions que utilitzen preguntes desades, assegura't que l'article tingui preguntes desades. Si no té preguntes, no es mostrarà tota la secció, inclòs l'encapçalament.
  • Per als botons de la pàgina d'inici, assegura't que cada etiqueta tingui text i que no superi els 50 caràcters.
  • A la teva pàgina de cerca, completa una cerca per mostrar els botons. La previsualització de l'editor de temes mostra les preguntes predeterminades.
  • Assegura't que has desat els canvis del tema. Si has editat un tema no publicat, publica el tema per mostrar els botons a la teva botiga en línia.