Re: Turn off auto-open for Shopify's Online store chat

Turn off auto-open for Shopify's Online store chat

Amadej
Visitor
2 0 0

Hello, I would like to use Shopify's Online store chat on my store, but it auto opens / expands when the page is loaded. I would like it to stay closed as the circle icon and only opens when someone clicks on it. Can someone provide assistance?

 

 

 

 

Replies 2 (2)

bcmorton
Shopify Partner
1 0 0

I am having the same issue. On mobile, the chat window covers the entire screen. There should be a setting to turn this off. 

carter_383
Shopify Partner
3 0 1

In your websites code 

theme.liquid

add the following

 

 

 

<script>
  window.onload = function() {
    setTimeout(function() {
      if (window.ShopifyChat && window.ShopifyChat.hideChat) {
        ShopifyChat.hideChat();
      }
    }, 1000);
  };
</script>

 

 

 

Charles

38-3D