Apply Business Hours settings at WooCommerce

By default, business hours settings are applicable only to the floating chat icon/button. To apply business hours settings for the WhatsApp icon/button added at a WooCommerce single product page and shop page, enable this option.

Navigate to ‘Click to Chat’ –> ‘WooCommerce‘ and enable ‘Apply Business hours settings‘ in advanced Settings

https://cdn.holithemes.com/plugins/click-to-chat/wp-content/uploads/2022/02/image-14.png
Business hours settings are applied to WooCommerce pages.

Note: The WooCommerce settings page displays only if the WooCommerce plugin is activated.


Example 1: To hide the WhatsApp when offline (i.e., non-business hours) on the WooCommerce shop, single product pages.

Step 1: Navigate to Click to Chat –> Business Hours – Offline/Online and select the business hours.

https://cdn.holithemes.com/plugins/click-to-chat/wp-content/uploads/2022/02/image-9.png
Now, WhatsApp appears only on the selected days.

Step 2: Select Hide when offline to hide WhatsApp during non-business hours.

https://cdn.holithemes.com/plugins/click-to-chat/wp-content/uploads/2022/02/image-10.png

Step 3: Navigate to ‘Click to Chat’ –> ‘WooCommerce’ and scroll down to Apply Business Hours Settings. Enable “Apply Business hours settings” to apply business hours settings for the WhatsApp added at WooCommerce single product page, shop page

https://cdn.holithemes.com/plugins/click-to-chat/wp-content/uploads/2022/02/image-14.png
Business hour settings are now applied to the WhatsApp button at WooCommerce pages.

Example 2: Instead of hiding the WhatsApp button, we can add a separate Call to Action and WhatsApp number when offline (non-business hours) to WooCommerce Shop, single product pages.

Step 1: Navigate to ‘Click to Chat’ –> ‘Business Hours—Offline/Online’ and select the business hours.

https://cdn.holithemes.com/plugins/click-to-chat/wp-content/uploads/2022/02/image-9.png

Step 2: Uncheck Hide when Offline and enter the offline number and offline call to action. These values apply when offline (non-business hours).

https://cdn.holithemes.com/plugins/click-to-chat/wp-content/uploads/2022/02/image-13.png

Step 3: Navigate to Click to Chat –> WooCommerce and scroll down to Apply Business Hours Settings.

https://cdn.holithemes.com/plugins/click-to-chat/wp-content/uploads/2022/02/image-14.png

Now, the Call to Action and WhatsApp number added at WooCommerce Shop, single product pages change when offline.