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.

Chattknappar visas på dina butikssidor och öppnar chatten. För att visa ett textfält längst ner i din butik, se Välj meddelandefältsstil. Chattknappar skiljer sig från den chatt-widget som öppnar chattfönstret, från omedelbara svar och från de frågor och förslag som visas i chattfönstret. Du ställer in chattknappar med Sidekick från sidan Översikt i Inbox. Sidekick skapar chattknappar som matchar ditt tema, och du förhandsgranskar och sparar dem i temaredigeraren. För mer information om Sidekick, se Kom igång med 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.
  • Söksida: Frågor som genereras för varje sökning. I din webbshop visas knapparna efter att en kund har sökt. Om frågorna inte genereras i tid visas standardfrågor. Förhandsgranskningen i temaredigeraren visar standardfrågorna.

Du kan ge Sidekick din egen knapptext för valfri sidtyp. För det blocket används den text du anger i stället för sparade eller genererade frågor. Detta ändrar inte de frågor som sparats på dina produkter eller produktserier.

Questions for products and collections

Som standard använder chattknappar för produkt och produktserie de frågor som har sparats på varje produkt eller produktserie. Om vissa av dina produkter eller produktserier saknar frågor, ger Sidekick dig följande alternativ:

  • Sidekick skriver frågor för produkter eller produktserier som inte har några frågor. Sidekick skriver endast produktfrågor för aktiva produkter. Sidekick skriver inte över befintliga frågor. Om du har tagit bort varje fråga från en produkt eller produktserie hoppar Sidekick över den, och du måste lägga till dess frågor själv.
  • Sidekick adds chat buttons only to products or collections that already have questions.

När chattknappar använder sparade frågor visar en produkt eller produktserie utan frågor inget avsnitt med chattknappar, inte ens dess rubrik.

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:

  • Rubrik: Texten som introducerar knapparna. Standardrubriken är Har du en fråga?. Lämna fältet tomt för att dölja rubriken.
  • Antal knappar: Antalet knappar som ska visas, från 1 till 4. När chattknappar för produkt och produktserie använder sparade frågor begränsar detta hur många frågor som visas.
  • 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:

  • Stil: Om knapparna använder ditt temas primära eller sekundära knappstil. Knapparna följer den stilens färger och form, och har inte separata färg- eller forminställningar.
  • Visa ikon: Om en ikon ska visas på varje knapp. Detta är inaktiverat som standard.
  • Ikon: Ikonen som ska visas. Denna inställning är endast tillgänglig i teman med ikoner som stöds, såsom Horizon. Alternativen beror på ditt tema och kan inkludera Chattbubbla, Frågetecken, Hjärta, Stjärna och Blixt.
  • Övre utfyllnad och Nedre utfyllnad: Utrymmet ovanför och under knapparna, från 0 till 100 px. Båda är 0 som standard.

På din startsida har en enskild knapp en etikett. Etiketten är både texten på knappen och frågan som skickas till din Inbox-agent. Knapptext på startsidan kan innehålla upp till 50 tecken. En knapp med tom text eller text som är längre än 50 tecken visas inte. För text som är längre än 50 tecken visar temaredigeraren ett tips.

På din söksida har en enskild knapp en standardfråga. En enskild knapp saknar rubrik, knappantal och layout.

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.

Du kan även be Sidekick i temaredigeraren att ändra blockets tillgängliga inställningar. Be den till exempel att stapla knapparna, använda ditt temas sekundära knappstil eller att ändra rubrik, utfyllnad eller ikon. Granska ändringarna och klicka sedan på Spara.

Edit questions for products and collections

Du kan lägga till, redigera, ta bort eller ändra ordning på frågorna för en produkt eller produktserie i din Shopify-admin. Varje produkt eller produktserie kan ha upp till 4 frågor, och frågornas ordning bestämmer chattknapparnas ordning. Om du återanvänder samma sparade frågepost på mer än en produkt eller produktserie kommer en redigering av den posten att ändra den överallt där den används.

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.

Felsök chattknappar som inte visas

Om dina chattknappar inte visas ska du kontrollera följande:

  • Se till att webbshopschatten är aktiverad. Chattknappar döljs när appinbäddningen Webbshopschatt är inaktiverad.
  • På produkt- och produktseriesidor som använder sparade frågor måste du se till att artikeln har sparade frågor. Om den inte har några frågor visas inte hela avsnittet, inklusive rubriken.
  • För knappar på startsidan, se till att varje etikett har text och inte är längre än 50 tecken.
  • Slutför en sökning på din söksida för att visa knapparna. Förhandsgranskningen i temaredigeraren visar standardfrågor.
  • Se till att du har sparat ändringarna i temat. Om du redigerade ett opublicerat tema måste du publicera temat för att knapparna ska visas i din webbshop.