How to set hours of availability for Chat function

90 1 17



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.



Reply 1 (1)

Shopify Partner
27 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.
Professional shopify developer, wx: shopify-asen