Hi all. Thank you for reading this. I am looking add a text link in my about us page that says 'Chat with our team' and when a user clicks this the Shopify Inbox widget opens in the bottom right hand corner of the screen.
Does anyone know how this is possible?
Thanks in advance.
You could click the button using JS, e.g:
<p> Hello, please <a href="#" onclick="document.getElementById('ShopifyChat').contentDocument.querySelector('.chat-toggle').click()">contact us</a> </p>
Ideally this would function without JS so you would enter a real href (to your contact page) and only open the chat if JS is enabled.
Hi, thank you for the reply. I have JS enabled but this code doesn't work?
I have tried a few different ID's for the Shopify chat button but had no luck.
Thanks in advance
Use the hyper link:
It works on my site, check it out:
Click on "live chat"
Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...By Gabe Jan 6, 2023
How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...By Skye Dec 30, 2022