How to set hours of availability for Chat function

shelleyd
Explorer
90 1 17

Hi,

 

I need to set the hours of availability for the Chat function on my site from 9pm to 9am each day. Currently, the message can only be scheduled for one period for any day of the week (i.e. Monday to Sunday, 9pm to 11.59pm). I need the ability add another period for each day (i.e. Monday to Sunday, 12am to 8.59am) for the message to schedule correctly.

 

Shelley

Reply 1 (1)
AsenWang
Shopify Partner
21 4 3

You can use css to hide the chat window first, and then use js to control the display of the chat window. If the time is in this range, change it to the displayed state.

If helpful then please Like and Accept Solution.

Want to modify or custom changes on store Hire me.

Contact me xasenwang@gmail.com