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 от страницата Общ преглед в Inbox. 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 го пропуска и трябва сами да добавите въпросите за него.
- 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:
- Заглавие: Текстът, който въвежда бутоните. Заглавието по подразбиране е Имате въпрос?. Оставете го празно, за да скриете заглавието.
- Брой бутони: Броят на бутоните за показване, от 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 px. Стойността по подразбиране за всяко е 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 знака.
- На Вашата страница за търсене извършете търсене, за да се покажат бутоните. Визуализацията в редактора на теми показва въпроси по подразбиране.
- Уверете се, че сте запазили промените в темата. Ако сте редактирали непубликувана тема, публикувайте темата, за да се покажат бутоните във Вашия онлайн магазин.