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.

Tombol obrolan ditampilkan di halaman toko Anda dan membuka obrolan. Untuk menampilkan bidang teks di bagian bawah toko Anda, lihat Memilih gaya bilah pesan. Tombol obrolan berbeda dari widget obrolan yang membuka jendela obrolan, dari jawaban instan, serta dari pertanyaan dan saran yang ditampilkan di dalam jendela obrolan. Anda dapat menyiapkan tombol obrolan dengan Sidekick dari halaman Ikhtisar di Inbox. Sidekick membuat tombol obrolan yang selaras dengan tema Anda, lalu Anda dapat mempratinjau dan menyimpannya di editor tema. Untuk informasi selengkapnya mengenai Sidekick, lihat Mulai menggunakan 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.
  • Halaman pencarian: Pertanyaan yang dihasilkan untuk setiap pencarian. Di toko online Anda, tombol ditampilkan setelah pelanggan melakukan pencarian. Jika pertanyaan tidak dihasilkan tepat waktu, pertanyaan default akan ditampilkan. Pratinjau editor tema menampilkan pertanyaan default.

Anda dapat memberikan teks tombol buatan sendiri kepada Sidekick untuk semua jenis halaman. Untuk blok tersebut, teks yang Anda berikan digunakan sebagai pengganti pertanyaan yang disimpan atau dihasilkan. Hal ini tidak mengubah pertanyaan yang disimpan pada produk atau koleksi Anda.

Questions for products and collections

Secara default, tombol obrolan produk dan koleksi menggunakan pertanyaan yang disimpan pada masing-masing produk atau koleksi. Jika beberapa produk atau koleksi Anda tidak memiliki pertanyaan, Sidekick memberikan opsi berikut:

  • Sidekick menulis pertanyaan untuk produk atau koleksi yang tidak memiliki pertanyaan. Sidekick menulis pertanyaan produk hanya untuk produk yang aktif. Sidekick tidak menimpa pertanyaan yang sudah ada. Jika Anda menghapus semua pertanyaan dari sebuah produk atau koleksi, Sidekick akan melewatkannya, dan Anda harus menambahkan pertanyaannya sendiri.
  • Sidekick adds chat buttons only to products or collections that already have questions.

Saat tombol obrolan menggunakan pertanyaan yang disimpan, produk atau koleksi tanpa pertanyaan tidak akan menampilkan bagian tombol obrolan, termasuk judulnya.

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:

  • Judul: Teks yang memperkenalkan tombol. Judul defaultnya adalah Ada pertanyaan?. Biarkan kosong untuk menyembunyikan judul.
  • Jumlah tombol: Jumlah tombol yang akan ditampilkan, dari 1 hingga 4. Saat tombol obrolan produk dan koleksi menggunakan pertanyaan yang disimpan, setelan ini membatasi jumlah pertanyaan yang ditampilkan.
  • 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:

  • Gaya: Menentukan apakah tombol menggunakan gaya tombol utama atau sekunder tema Anda. Tombol akan mengikuti warna dan bentuk gaya tersebut, dan tidak memiliki pengaturan warna atau bentuk yang terpisah.
  • Tampilkan ikon: Menentukan apakah ikon ditampilkan pada setiap tombol. Setelan ini dinonaktifkan secara default.
  • Ikon: Ikon yang akan ditampilkan. Pengaturan ini hanya tersedia di tema dengan ikon yang didukung, seperti Horizon. Pilihannya bergantung pada tema Anda dan dapat mencakup Gelembung obrolan, Tanda tanya, Hati, Bintang, dan Petir.
  • Padding atas dan Padding bawah: Ruang di atas dan di bawah tombol, dari 0 hingga 100 piksel. Masing-masing secara default bernilai 0.

Di beranda Anda, satu tombol memiliki satu label. Label tersebut adalah teks pada tombol sekaligus pertanyaan yang dikirim ke agen Inbox Anda. Teks tombol beranda dapat berisi hingga 50 karakter. Tombol dengan teks kosong atau teks yang lebih dari 50 karakter tidak akan ditampilkan. Untuk teks yang lebih dari 50 karakter, editor tema akan menampilkan petunjuk.

Di halaman pencarian Anda, satu tombol memiliki satu pertanyaan default. Satu tombol tidak memiliki judul, jumlah tombol, atau tata letak.

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.

Anda juga dapat meminta Sidekick di editor tema untuk mengubah pengaturan blok yang tersedia. Misalnya, memintanya menumpuk tombol, menggunakan gaya tombol sekunder tema Anda, atau mengubah judul, padding, maupun ikon. Tinjau perubahannya, lalu klik Simpan.

Edit questions for products and collections

Anda dapat menambah, mengedit, menghapus, atau mengurutkan ulang pertanyaan pada suatu produk atau koleksi di admin Shopify Anda. Setiap produk atau koleksi dapat memiliki hingga 4 pertanyaan, dan urutan pertanyaan tersebut menentukan urutan tombol obrolan. Jika Anda menggunakan kembali entri pertanyaan tersimpan yang sama di lebih dari satu produk atau koleksi, mengedit entri tersebut akan mengubahnya di semua tempat entri tersebut digunakan.

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.

Pemecahan masalah tombol obrolan yang tidak ditampilkan

Jika tombol obrolan Anda tidak ditampilkan, periksa beberapa hal berikut:

  • Pastikan bahwa obrolan toko online aktif. Tombol obrolan disembunyikan jika sematan aplikasi Obrolan toko online dinonaktifkan.
  • Di halaman produk dan koleksi yang menggunakan pertanyaan yang disimpan, pastikan bahwa item tersebut memiliki pertanyaan yang disimpan. Jika tidak ada pertanyaan, seluruh bagian tersebut, termasuk judulnya, tidak akan ditampilkan.
  • Untuk tombol beranda, pastikan setiap label memiliki teks dan tidak lebih dari 50 karakter.
  • Di halaman pencarian Anda, selesaikan pencarian untuk menampilkan tombol. Pratinjau editor tema menampilkan pertanyaan default.
  • Pastikan Anda telah menyimpan perubahan tema. Jika Anda mengedit tema yang belum diterbitkan, terbitkan tema untuk menampilkan tombol di toko online Anda.