We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Chat button/Icon in menu

Chat button/Icon in menu

oaklystore
New Member
4 0 0

Hey!

 

Is there any way to make shopify inbox in my store as an "Live chat" icon next to search icon, cart? Or as a button?

Im attaching example.

 

I do not want floating icon as this cover some sections/images in my store. I want this to be in menu or as an icon.

Replies 6 (6)

CodingFifty
Shopify Partner
1102 161 190

Hey! @oaklystore,

 

Could you kindly share your store URL and password (if it’s password-protected) so I can review it and provide you with an update?

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
oaklystore
New Member
4 0 0

Hey!

 

Its oaklystore.com

CodingFifty
Shopify Partner
1102 161 190

Where is the live chat icon showing on your end? Is it floating somewhere? Because I’m not seeing the live chat icon on this store at all.

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
oaklystore
New Member
4 0 0

I have now enabled chat, please have a look.

tim
Shopify Partner
4812 598 1733

Here is what you can do without any theme code edits.

Add a new link to your menu, call it Chat and make it point to #chat (address is important).

 

Then add a "Custom liquid" section into your Footer section group and paste this code:

<script>
  document.addEventListener('click', e=> {
    let target = e.target.closest('[href$="#chat"]');
    if (target) {
      e.stopImmediatePropagation();
      e.preventDefault();
      let chat = document.querySelector('inbox-online-store-chat');
      if (!chat) return;
      let buttonSelector = chat.getAttribute('is-open') == 'true' ? ".chat-app--close-button" : ".chat-toggle";
      chat.shadowRoot.querySelector(buttonSelector)?.dispatchEvent(new Event('click'));
      return false;
    }
  });
</script>

<style>
  inbox-online-store-chat#ShopifyChat[is-open="false"] {
    transform: translateX(-100vw);
  }
</style>

 

The code will listen to click on any link like <a href="#chat">...</a> and will open/close the chat app. 

Preview in my test store: https://qf4vm29deon22n7j-23104437.shopifypreview.com -- click "Chat" in main menu.

Screenshot 2025-06-27 at 4.50.40 PM.png

 

Not quite the button you've asked for, but otherwise would need to modify the theme code which I currently have no access to.

OR, can decorate this link with CSS... 

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
oaklystore
New Member
4 0 0

Thank you so much. I will test this out soon! 🙂

 

With regards to this icon, I wanted to make same but as an icon so its visible on mobile next to search and cart so client doesnt have to open mobile menu. It would be more visible, accessible and better looking solution 🙂 I can email you to give you the access if you are able to help 🙂