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.
Pokalbių mygtukai rodomi Jūsų parduotuvės puslapiuose ir atidaro pokalbį. Norėdami parduotuvės apačioje rodyti teksto laukelį, žr. Pranešimų juostos stiliaus pasirinkimas. Pokalbių mygtukai skiriasi nuo pokalbių valdiklio, kuris atidaro pokalbio langą, nuo momentinių atsakymų ir nuo klausimų bei pasiūlymų, kurie rodomi pokalbio lange. Pokalbių mygtukus nustatote naudodami „Sidekick“ iš „Inbox“ puslapio Apžvalga. „Sidekick“ sukuria Jūsų temą atitinkančius pokalbių mygtukus, o Jūs galite juos peržiūrėti ir išsaugoti temos redaktoriuje. Daugiau informacijos apie „Sidekick“ rasite Darbo su „Sidekick“ pradžia.
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.
- Paieškos puslapis: klausimai, sugeneruojami kiekvienai paieškai. Jūsų internetinėje parduotuvėje mygtukai rodomi po to, kai klientas atlieka paiešką. Jei klausimai nesugeneruojami laiku, rodomi numatytieji klausimai. Temos redaktoriaus peržiūroje rodomi numatytieji klausimai.
Bet kuriam puslapio tipui galite pateikti „Sidekick“ savo mygtuko tekstą. Tam blokui Jūsų pateiktas tekstas naudojamas vietoje išsaugotų ar sugeneruotų klausimų. Tai nepakeičia klausimų, išsaugotų Jūsų produktai ar kolekcijose.
Questions for products and collections
Pagal numatytuosius nustatymus produktų ir kolekcijų pokalbių mygtukai naudoja klausimus, išsaugotus kiekviename produkte ar kolekcijoje. Jei kai kurie Jūsų produktai ar kolekcijos neturi klausimų, „Sidekick“ pateikia šias parinktis:
- „Sidekick“ parašo klausimus produktams ar kolekcijoms, kurie neturi jokių klausimų. „Sidekick“ rašo produkto klausimus tik aktyviems produktams. „Sidekick“ neperrašo esamų klausimų. Jei pašalinote visus klausimus iš produkto ar kolekcijos, „Sidekick“ jį praleidžia ir Jums reikia patiems pridėti jo klausimus.
- Sidekick adds chat buttons only to products or collections that already have questions.
Kai pokalbių mygtukai naudoja išsaugotus klausimus, produktas arba kolekcija be klausimų nerodo pokalbių mygtukų skilties, įskaitant jos antraštę.
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:
- Antraštė: tekstas, pristatantis mygtukus. Numatytoji antraštė yra Turite klausimų?. Palikite tuščią, jei norite paslėpti antraštę.
- Mygtukų skaičius: rodomų mygtukų skaičius nuo 1 iki 4. Kai produktų ir kolekcijų pokalbių mygtukuose naudojami išsaugoti klausimai, tai riboja rodomų klausimų skaičių.
- 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:
- Stilius: ar mygtukai naudoja Jūsų temos pirminį, ar antrinį mygtuko stilių. Mygtukai atitinka to stiliaus spalvas ir formą, jie neturi atskirų spalvos ar formos nustatymų.
- Rodyti piktogramą: ar ant kiekvieno mygtuko rodoma piktograma. Pagal numatytuosius nustatymus tai yra išjungta.
- Piktograma: rodoma piktograma. Šis nustatymas pasiekiamas tik temose su palaikomomis piktogramomis, pvz., „Horizon“. Pasirinkimai priklauso nuo Jūsų temos ir gali būti: Pokalbio burbulas, Klaustukas, Širdis, Žvaigždutė ir Žaibas.
- Viršutinis vidinis atstumas ir Apatinis vidinis atstumas: erdvė virš ir po mygtukais nuo 0 iki 100 piks. Kiekvieno numatytoji reikšmė yra 0.
Jūsų pagrindiniame puslapyje vienas mygtukas turi vieną etiketę. Etiketė yra ir tekstas ant mygtuko, ir klausimas, siunčiamas Jūsų „Inbox“ agentui. Pagrindinio puslapio mygtuko tekstas gali turėti iki 50 simbolių. Mygtukas su tuščiu tekstu arba ilgesniu nei 50 simbolių tekstu nerodomas. Ilgesniam nei 50 simbolių tekstui temos redaktorius rodo patarimą.
Jūsų paieškos puslapyje vienas mygtukas turi vieną numatytąjį klausimą. Vienas mygtukas neturi antraštės, mygtukų skaičiaus ar išdėstymo.
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.
Taip pat temos redaktoriuje galite paprašyti „Sidekick“ pakeisti bloko galimus nustatymus. Pavyzdžiui, paprašykite išdėstyti mygtukus vieną po kitu, naudoti Jūsų temos antrinį mygtuko stilių arba pakeisti antraštę, vidinį atstumą ar piktogramą. Peržiūrėkite pakeitimus ir spustelėkite Išsaugoti.
Edit questions for products and collections
„Shopify“ administratoriuje galite pridėti, redaguoti, pašalinti arba pertvarkyti produkto ar kolekcijos klausimus. Kiekvienas produktas ar kolekcija gali turėti iki 4 klausimų, o klausimų tvarka nustato pokalbių mygtukų tvarką. Jei tą patį išsaugotą klausimo įrašą pakartotinai naudojate daugiau nei viename produkte ar kolekcijoje, redagavus tą įrašą jis pasikeis visur, kur yra naudojamas.
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.
Nerodomų pokalbių mygtukų trikčių šalinimas
Jei Jūsų pokalbių mygtukai nerodomi, patikrinkite šiuos elementus:
- Įsitikinkite, kad interneto parduotuvės pokalbių funkcija yra įjungta. Pokalbių mygtukai yra paslėpti, kai Interneto parduotuvės pokalbių funkcijos programos komponentų įterpimas yra išjungtas.
- Produktų ir kolekcijų puslapiuose, kuriuose naudojami išsaugoti klausimai, įsitikinkite, kad juose yra išsaugotų klausimų. Jei juose nėra klausimų, tuomet visa skiltis, įskaitant jos antraštę, nerodoma.
- Pagrindinio puslapio mygtukuose įsitikinkite, kad kiekviena etiketė turi tekstą ir yra ne ilgesnė nei 50 simbolių.
- Jūsų paieškos puslapyje atlikite paiešką, kad būtų parodyti mygtukai. Temos redaktoriaus peržiūroje rodomi numatytieji klausimai.
- Įsitikinkite, kad išsaugojote temos pakeitimus. Jei redagavote nepaskelbtą temą, tuomet paskelbkite temą, kad mygtukai būtų rodomi Jūsų internetinėje parduotuvėje.