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.

Przyciski czatu są wyświetlane na stronach sklepu i służą do otwierania czatu. Aby wyświetlić pole tekstowe na dole strony sklepu, zapoznaj się z sekcją Wybierz styl paska wiadomości. Przyciski czatu różnią się od widżetu czatu, który otwiera okno czatu, od natychmiastowych odpowiedzi oraz od pytań i sugestii wyświetlanych wewnątrz okna czatu. Przyciski czatu możesz skonfigurować za pomocą funkcji Sidekick na stronie Przegląd w aplikacji Inbox. Sidekick tworzy przyciski czatu pasujące do Twojego szablonu, a Ty możesz wyświetlić ich podgląd i zapisać je w edytorze szablonów. Aby uzyskać więcej informacji na temat funkcji Sidekick, zapoznaj się z sekcją Rozpoczęcie pracy z asystentem 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.
  • Strona wyszukiwania: pytania, które są generowane dla każdego wyszukiwania. W Twoim sklepie online przyciski wyświetlają się po tym, jak klient dokona wyszukiwania. Jeśli pytania nie zostaną wygenerowane na czas, wyświetlone zostaną pytania domyślne. Na podglądzie w edytorze szablonów wyświetlają się pytania domyślne.

Możesz podać asystentowi Sidekick własny tekst przycisku dla dowolnego typu strony. W przypadku tego bloku wprowadzony tekst jest używany zamiast zapisanych lub wygenerowanych pytań. Nie zmienia to pytań zapisanych w Twoich produktach lub kolekcjach.

Questions for products and collections

Domyślnie przyciski czatu dla produktów i kolekcji wykorzystują pytania, które są zapisane dla każdego produktu lub kolekcji. Jeśli niektóre z Twoich produktów lub kolekcji nie mają pytań, Sidekick udostępnia następujące opcje:

  • Sidekick pisze pytania dla produktów lub kolekcji, które nie mają żadnych pytań. Sidekick przygotowuje pytania tylko dla aktywnych produktów. Sidekick nie nadpisuje istniejących pytań. Jeśli usuniesz wszystkie pytania z produktu lub kolekcji, Sidekick je pominie, a Ty musisz dodać pytania samodzielnie.
  • Sidekick adds chat buttons only to products or collections that already have questions.

Gdy przyciski czatu korzystają z zapisanych pytań, w produkcie lub kolekcji bez pytań nie jest wyświetlana sekcja przycisków czatu, w tym jej nagłówek.

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:

  • Nagłówek: tekst wprowadzający do przycisków. Domyślny nagłówek to Masz pytanie?. Pozostaw to pole puste, aby ukryć nagłówek.
  • Liczba przycisków: liczba przycisków do wyświetlenia (od 1 do 4). Jeśli przyciski czatu dla produktów i kolekcji korzystają z zapisanych pytań, ustawienie to określa, ile pytań zostanie wyświetlonych.
  • 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:

  • Styl: określa, czy przyciski mają korzystać z głównego czy dodatkowego stylu przycisku w szablonie. Przyciski dopasowują się do kolorów i kształtu danego stylu i nie mają oddzielnych ustawień koloru ani kształtu.
  • Pokaż ikonę: określa, czy na każdym przycisku wyświetlana jest ikona. Ta opcja jest domyślnie wyłączona.
  • Ikona: ikona do wyświetlenia. To ustawienie jest dostępne tylko w szablonach obsługujących ikony, takich jak Horizon. Dostępne opcje zależą od szablonu i mogą obejmować takie pozycje jak Dymek czatu, Znak zapytania, Serce, Gwiazda oraz Błyskawica.
  • Wypełnienie górne i Wypełnienie dolne: przestrzeń powyżej i poniżej przycisków, od 0 do 100 px. Wartość domyślna dla obu opcji to 0.

Na stronie głównej pojedynczy przycisk ma jedną etykietę. Etykieta ta jest jednocześnie tekstem widocznym na przycisku i pytaniem, które jest wysyłane do Twojego agenta Inbox. Tekst na przycisku na stronie głównej może mieć maksymalnie 50 znaków. Przycisk z pustym tekstem lub tekstem przekraczającym 50 znaków nie jest wyświetlany. W przypadku tekstu dłuższego niż 50 znaków edytor szablonów wyświetla podpowiedź.

Na stronie wyszukiwania pojedynczy przycisk ma jedno domyślne pytanie. Pojedynczy przycisk nie ma nagłówka, liczby przycisków ani układu.

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.

Możesz również poprosić asystenta Sidekick w edytorze szablonów o zmianę dostępnych ustawień bloku. Możesz go na przykład poprosić o ułożenie przycisków w stos, użycie dodatkowego stylu przycisku dla szablonu albo zmianę nagłówka, wypełnienia czy ikony. Przejrzyj zmiany, a następnie kliknij Zapisz.

Edit questions for products and collections

Pytania dotyczące produktu lub kolekcji możesz dodawać, edytować, usuwać lub zmieniać ich kolejność w panelu administracyjnym Shopify. Każdy produkt lub kolekcja może mieć do 4 pytań, a kolejność pytań wyznacza kolejność przycisków czatu. Jeśli ponownie użyjesz tego samego zapisanego pytania dla więcej niż jednego produktu lub kolekcji, edycja tego zapisu zmieni go we wszystkich miejscach, w których jest używany.

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.

Rozwiązywanie problemów z niewyświetlającymi się przyciskami czatu

Jeśli przyciski czatu nie są wyświetlane, sprawdź następujące elementy:

  • Upewnij się, że czat w sklepie online jest włączony. Przyciski czatu są ukryte, gdy osadzenie aplikacji Czat w sklepie online jest wyłączone.
  • W przypadku stron produktów i kolekcji korzystających z zapisanych pytań upewnij się, że dana pozycja ma zapisane pytania. Jeśli nie ma żadnych pytań, cała sekcja łącznie z nagłówkiem nie będzie wyświetlana.
  • W przypadku przycisków na stronie głównej upewnij się, że każda etykieta zawiera tekst i nie przekracza 50 znaków.
  • W przypadku strony wyszukiwania – przeprowadź wyszukiwanie, aby wyświetlić przyciski. Na podglądzie w edytorze szablonów wyświetlają się pytania domyślne.
  • Upewnij się, że zmiany w szablonie zostały zapisane. Jeśli zedytowano nieopublikowany szablon, musisz opublikować szablon, aby wyświetlić przyciski w sklepie online.