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.
Chat buttons are displayed on your store pages and open the chat. To display a text field at the bottom of your store, refer to Choose the message bar style. Chat buttons are different from the chat widget that opens the chat window, from instant answers, and from the questions and suggestions that are displayed inside the chat window. You set up chat buttons with Sidekick from the Overview page in Inbox. Sidekick creates chat buttons that match your theme, and you preview and save them in the theme editor. For more information about Sidekick, refer to Getting started with 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.
- Search page: Questions that are generated for each search. On your online store, the buttons are displayed after a customer searches. If the questions aren't generated in time, then default questions are displayed. The theme editor preview displays the default questions.
You can give Sidekick your own button text for any page type. For that block, the text that you provide is used instead of saved or generated questions. This doesn't change the questions saved on your products or collections.
Questions for products and collections
By default, product and collection chat buttons use the questions that are saved on each product or collection. If some of your products or collections don't have questions, then Sidekick gives you the following options:
- Sidekick writes questions for products or collections that don't have any questions. Sidekick writes product questions only for active products. Sidekick doesn't overwrite existing questions. If you removed every question from a product or collection, then Sidekick skips it, and you need to add its questions yourself.
- Sidekick adds chat buttons only to products or collections that already have questions.
When chat buttons use saved questions, a product or collection without questions doesn't display a section of chat buttons, including its heading.
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:
- Heading: The text that introduces the buttons. The default heading is Have a question?. Leave it blank to hide the heading.
- Number of buttons: The number of buttons to display, from 1 to 4. When product and collection chat buttons use saved questions, this limits how many questions are displayed.
- 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:
- Style: Whether the buttons use your theme's primary or secondary button style. The buttons follow that style's colors and shape, and don't have separate color or shape settings.
- Show icon: Whether an icon is displayed on each button. This is off by default.
- Icon: The icon to display. This setting is available only on themes with supported icons, such as Horizon. The choices depend on your theme and can include Chat bubble, Question mark, Heart, Star, and Lightning bolt.
- Top padding and Bottom padding: The space above and below the buttons, from 0 to 100 px. Each defaults to 0.
On your home page, a single button has one label. The label is both the text on the button and the question that is sent to your Inbox agent. Home page button text can have up to 50 characters. A button with blank text or text longer than 50 characters isn't displayed. For text longer than 50 characters, the theme editor displays a hint.
On your search page, a single button has one default question. A single button doesn't have a heading, a number of buttons, or a layout.
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.
You can also ask Sidekick in the theme editor to change the block's available settings. For example, ask it to stack the buttons, use your theme's secondary button style, or change the heading, padding, or icon. Review the changes, and then click Save.
Edit questions for products and collections
You can add, edit, remove, or reorder the questions on a product or collection in your Shopify admin. Each product or collection can have up to 4 questions, and the order of the questions sets the order of the chat buttons. If you reuse the same saved question entry on more than one product or collection, then editing that entry changes it everywhere that it's used.
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.
Troubleshoot chat buttons that aren't displayed
If your chat buttons aren't displayed, then check these items:
- Make sure that online store chat is on. Chat buttons are hidden when the Online store chat app embed is off.
- On product and collection pages that use saved questions, make sure that the item has saved questions. If it has no questions, then the entire section, including its heading, isn't displayed.
- For home page buttons, make sure that each label has text and is no longer than 50 characters.
- On your search page, complete a search to display the buttons. The theme editor preview displays default questions.
- Make sure that you saved the theme changes. If you edited an unpublished theme, then publish the theme to display the buttons on your online store.