How can I make the Shopify chat visible only on the Contact Us page?

Solved

How can I make the Shopify chat visible only on the Contact Us page?

Rubberduck
Shopify Partner
61 0 11

Hello! 

Does anyone here know how to make the shopify chat only visable on the Contact Us page?

Nexwatches.no

Thanks!

Accepted Solution (1)

GemPages
Shopify Partner
5625 1262 1264

This is an accepted solution.

Hello @Rubberduck 

 

It's GemPages support team and glad to support you today.

I would like to give you a solution to support you:

1. Go to Online Store -> Theme -> Edit code:

 

GemPages_0-1669618959296.png

 

2. Open your theme.liquid theme file

3. Paste the below code before </body>:

 

{% unless page.handle contains 'contact' %}
  <style>
    #dummy-chat-button-iframe{
      display: none !important;
    }
  </style>
{% endunless %}

 

Hope my solution can work and support you!

Kind & Best regards!

GemPages Support Team.

 

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

Replies 5 (5)

GemPages
Shopify Partner
5625 1262 1264

This is an accepted solution.

Hello @Rubberduck 

 

It's GemPages support team and glad to support you today.

I would like to give you a solution to support you:

1. Go to Online Store -> Theme -> Edit code:

 

GemPages_0-1669618959296.png

 

2. Open your theme.liquid theme file

3. Paste the below code before </body>:

 

{% unless page.handle contains 'contact' %}
  <style>
    #dummy-chat-button-iframe{
      display: none !important;
    }
  </style>
{% endunless %}

 

Hope my solution can work and support you!

Kind & Best regards!

GemPages Support Team.

 

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
Rubberduck
Shopify Partner
61 0 11

Amazing, thank you!

Rubberduck
Shopify Partner
61 0 11

@GemPages its all good, thanks again!

Ldarby
Visitor
2 0 0

Hi GemPages

I wondered if you could help me.

My shopify chat feature has recently stopped appearing on the front end. 

im not sure what's caused this, i havent' added anything new. 

any ideas how i can check if the code is correct? 

or, any other ideas?

Lizzie

gunnu
Visitor
1 0 0

can you please show a screenshot where exactly you pasted the code? i pasted it in between head and body but nothing happens....