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.

Tlačidlá chatu sa zobrazujú na stránkach obchodu a otvárajú chat. Ak chcete v spodnej časti obchodu zobraziť textové pole, prečítajte si časť Výber štýlu lišty správy. Tlačidlá chatu sa líšia od widgetu chatu, ktorý otvára okno chatu, od okamžitých odpovedí a od otázok a návrhov zobrazených v okne chatu. Tlačidlá chatu nastavujete pomocou nástroja Sidekick na stránke Prehľad v aplikácii Inbox. Nástroj Sidekick vytvorí tlačidlá chatu, ktoré zodpovedajú vašej téme, a v editore tém si môžete zobraziť ich ukážku a uložiť ich. Ďalšie informácie o nástroji Sidekick nájdete v časti Začíname s nástrojom 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.
  • Stránka vyhľadávania: Otázky generované pre každé vyhľadávanie. V online obchode sa tlačidlá zobrazia po vyhľadávaní zákazníka. Ak sa otázky nevygenerujú včas, zobrazia sa predvolené otázky. V náhľade editora tém sa zobrazujú predvolené otázky.

Nástroju Sidekick môžete poskytnúť vlastný text tlačidla pre akýkoľvek typ stránky. Pre daný blok sa poskytnutý text použije namiesto uložených alebo vygenerovaných otázok. Toto nezmení otázky uložené v produktoch alebo kolekciách.

Questions for products and collections

Tlačidlá chatu pre produkty a kolekcie predvolene používajú otázky, ktoré sú uložené v príslušnom produkte alebo kolekcii. Ak niektoré produkty alebo kolekcie nemajú otázky, Sidekick vám poskytne nasledujúce možnosti:

  • Sidekick napíše otázky pre produkty alebo kolekcie, ktoré nemajú žiadne otázky. Sidekick napíše otázky produktu len pre aktívne produkty. Sidekick neprepisuje existujúce otázky. Ak ste odstránili všetky otázky z produktu alebo kolekcie, Sidekick ich vynechá a otázky budete musieť pridať sami.
  • Sidekick adds chat buttons only to products or collections that already have questions.

Ak tlačidlá chatu používajú uložené otázky, produkt alebo kolekcia bez otázok nezobrazí sekciu s tlačidlami chatu vrátane jej nadpisu.

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:

  • Nadpis: Text, ktorý uvádza tlačidlá. Predvolený nadpis je Máte otázku?. Ak ho chcete skryť, ponechajte pole prázdne.
  • Počet tlačidiel: Počet zobrazených tlačidiel (od 1 do 4). Keď tlačidlá chatu pre produkty a kolekcie používajú uložené otázky, toto nastavenie obmedzuje počet zobrazených otázok.
  • 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:

  • Štýl: Určuje, či tlačidlá používajú primárny alebo sekundárny štýl tlačidla témy. Tlačidlá preberajú farby a tvary tohto štýlu a nemajú samostatné nastavenia farby a tvaru.
  • Zobraziť ikonu: Určuje, či sa na každom tlačidle zobrazuje ikona. Toto nastavenie je predvolene vypnuté.
  • Ikona: Ikona na zobrazenie. Toto nastavenie je k dispozícii len v témach s podporovanými ikonami, ako je napríklad Horizon. Možnosti závisia od vašej témy a môžu zahŕňať Bublinu chatu, Otáznik, Srdce, Hviezdu a Blesk.
  • Horný vnútorný okraj a Spodný vnútorný okraj: Priestor nad a pod tlačidlami od 0 do 100 px. Predvolená hodnota oboch je 0.

Na domovskej stránke má jedno tlačidlo jeden štítok. Štítok predstavuje text na tlačidle a zároveň otázku, ktorá sa odošle agentovi Inboxu. Text tlačidla na domovskej stránke môže mať maximálne 50 znakov. Tlačidlo s prázdnym textom alebo textom dlhším ako 50 znakov sa nezobrazí. Ak je text dlhší ako 50 znakov, v editore tém sa zobrazí nápoveda.

Na stránke vyhľadávania má jedno tlačidlo jednu predvolenú otázku. Jedno tlačidlo nemá nadpis, počet tlačidiel ani rozloženie.

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.

Nástroj Sidekick môžete tiež v editore tém požiadať o zmenu dostupných nastavení bloku. Môžete ho napríklad požiadať o zoradenie tlačidiel nad sebou, použitie sekundárneho štýlu tlačidla témy alebo o zmenu nadpisu, vnútorného okraja či ikony. Skontrolujte zmeny a kliknite na tlačidlo Uložiť.

Edit questions for products and collections

Otázky v produkte alebo kolekcii môžete pridávať, upravovať, odstraňovať alebo meniť ich poradie u administrátora Shopify. Každý produkt alebo kolekcia môže mať až 4 otázky a poradie otázok určuje poradie tlačidiel chatu. Ak znova použijete tú istú uloženú otázku vo viacerých produktoch alebo kolekciách, jej úprava sa prejaví všade, kde je použitá.

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.

Riešenie problémov s nezobrazenými tlačidlami chatu

Ak sa tlačidlá chatu nezobrazujú, skontrolujte nasledovné:

  • Uistite sa, že je zapnutý chat v online obchode. Keď je vloženie aplikácie Chat v online obchode vypnuté, tlačidlá chatu sú skryté.
  • Na stránkach produktov a kolekcií, ktoré používajú uložené otázky, sa uistite, že daná položka má uložené otázky. Ak nemá žiadne otázky, celá sekcia vrátane nadpisu sa nezobrazí.
  • V prípade tlačidiel na domovskej stránke skontrolujte, či má každý štítok text a nemá viac ako 50 znakov.
  • Na stránke vyhľadávania dokončite vyhľadávanie, aby sa tlačidlá zobrazili. V náhľade editora tém sa zobrazujú predvolené otázky.
  • Uistite sa, že ste uložili zmeny témy. Ak ste upravili nepublikovanú tému, publikujte tému, aby sa tlačidlá zobrazili v online obchode.