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.
Кнопки чату відображаються на сторінках вашого магазину та відкривають чат. Щоб відобразити текстове поле внизу магазину, перегляньте розділ Вибір стилю панелі повідомлень. Кнопки чату відрізняються від віджета чату, який відкриває вікно чату, від миттєвих відповідей, а також від запитань і пропозицій, які відображаються всередині вікна чату. Ви налаштовуєте кнопки чату за допомогою Sidekick на сторінці Огляд у Вхідних. Sidekick створює кнопки чату, які відповідають вашій темі, а ви переглядаєте та зберігаєте їх у редакторі тем. Для отримання додаткової інформації про Sidekick перегляньте Початок роботи з 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.
- Сторінка пошуку: запитання, які створюються для кожного пошукового запиту. В інтернет-магазині кнопки відображаються після того, як клієнт здійснить пошук. Якщо запитання не створено вчасно, відображатимуться стандартні запитання. Попередній перегляд у редакторі тем відображає стандартні запитання.
Ви можете надати Sidekick власний текст кнопки для будь-якого типу сторінки. Для цього блоку текст, який ви надаєте, використовується замість збережених або згенерованих запитань. Це не змінює запитань, збережених для товарів або колекцій.
Questions for products and collections
За замовчуванням кнопки чату для товарів і колекцій використовують запитання, збережені для кожного товару чи колекції. Якщо деякі з ваших товарів або колекцій не мають запитань, Sidekick запропонує вам такі варіанти:
- Sidekick пише запитання для товарів або колекцій, які не мають жодних запитань. Sidekick створює запитання лише для активних товарів і не перезаписує наявних запитань. Якщо ви видалили всі запитання для товару або колекції, Sidekick пропустить їх, і вам доведеться додати запитання самостійно.
- Sidekick adds chat buttons only to products or collections that already have questions.
Коли кнопки чату використовують збережені запитання, для товару чи колекції без запитань не відображатиметься розділ кнопок чату, включно із заголовком.
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:
- Заголовок: текст, який передує кнопкам. Стандартний заголовок — Have a question?. Залиште це поле порожнім, щоб приховати заголовок.
- Кількість кнопок: кількість кнопок для відображення, від 1 до 4. Якщо кнопки чату для товарів і колекцій використовують збережені запитання, це обмежує кількість запитань, які відображаються.
- 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:
- Стиль: визначає, чи використовуватимуть кнопки основний, чи додатковий стиль кнопок вашої теми. Кнопки успадковують кольори та форму цього стилю й не мають окремих налаштувань кольору або форми.
- Показувати значок: визначає, чи відображатиметься значок на кожній кнопці. Цей параметр вимкнено за замовчуванням.
- Значок: значок, який потрібно відобразити. Це налаштування доступне лише в темах із підтримуваними значками, як-от Horizon. Доступні варіанти залежать від вашої теми та можуть включати такі значки: Бульбашка чату, Знак питання, Серце, Зірка та Блискавка.
- Верхній внутрішній відступ та Нижній внутрішній відступ: простір над і під кнопками, від 0 до 100 пікселів. Стандартне значення для обох параметрів — 0.
На головній сторінці одна кнопка має один напис. Напис — це і текст на кнопці, і запитання, яке надсилається агенту Inbox. Текст кнопки на головній сторінці може містити до 50 символів. Кнопка з порожнім текстом або текстом, довшим за 50 символів, не відображається. Якщо текст довший за 50 символів, у редакторі тем відобразиться підказка.
На сторінці пошуку одна кнопка містить одне стандартне запитання. Окрема кнопка не має заголовка, кількості кнопок або макета.
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.
У редакторі тем ви також можете попросити Sidekick змінити доступні налаштування блоку. Наприклад, попросіть його розмістити кнопки одна над одною, використати додатковий стиль кнопок вашої теми або змінити заголовок, внутрішній відступ чи значок. Перевірте зміни, а потім натисніть Зберегти.
Edit questions for products and collections
Ви можете додавати, редагувати, видаляти або змінювати порядок запитань для товару чи колекції в панелі адміністрування Shopify. Кожен товар або колекція може мати до 4 запитань, а порядок запитань визначає порядок кнопок чату. Якщо ви повторно використовуєте той самий запис збереженого запитання для кількох товарів або колекцій, його редагування змінить його скрізь, де він використовується.
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.
Усунення проблем із кнопками чату, які не відображаються
Якщо кнопки чату не відображаються, перевірте таке:
- Переконайтеся, що чат інтернет-магазину ввімкнено. Кнопки чату приховано, якщо вбудований блок застосунку Чат інтернет-магазину вимкнено.
- На сторінках товарів і колекцій, які використовують збережені запитання, переконайтеся, що відповідний елемент має збережені запитання. Якщо запитань немає, увесь розділ, включно з його заголовком, не відображатиметься.
- Для кнопок на головній сторінці переконайтеся, що кожен напис містить текст і має довжину не більше ніж 50 символів.
- На сторінці пошуку виконайте пошук, щоб відобразити кнопки. У попередньому перегляді редактора тем відображаються стандартні запитання.
- Переконайтеся, що ви зберегли зміни в темі. Якщо ви відредагували неопубліковану тему, опублікуйте її, щоб кнопки відобразилися у вашому інтернет-магазині.