{"id":2771,"date":"2022-03-17T19:23:48","date_gmt":"2022-03-17T13:53:48","guid":{"rendered":"http:\/\/holithemes.com\/plugins\/click-to-chat\/?p=2771"},"modified":"2025-05-16T12:41:12","modified_gmt":"2025-05-16T07:11:12","slug":"business-hours-for-woocommerce-products","status":"publish","type":"post","link":"https:\/\/holithemes.com\/plugins\/click-to-chat\/business-hours-for-woocommerce-products\/","title":{"rendered":"Apply Business Hours settings at WooCommerce"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>By default, Business Hours settings in the <em>Click to Chat<\/em> plugin apply only to the floating chat icon\/button. However, if we&#8217;re using WhatsApp buttons on WooCommerce Shop and Single Product pages, we can also apply these business hours rules there by enabling an additional setting.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>\ud83d\udd17&nbsp;Included in the PRO plan \u2014&nbsp;<a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/pricing\/\">View Pricing<\/a><\/em><\/p>\n<\/blockquote>\n\n\n\n<p><strong>Note: <\/strong>The WooCommerce settings will only appear if the WooCommerce plugin is active.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Example 1:<\/strong> Hide WhatsApp Button Outside Business Hours<\/h3>\n\n\n\n<p>To hide the WhatsApp button during non-business hours on WooCommerce Shop and Single Product pages<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Set Business Hours<\/h4>\n\n\n\n<p>Navigate to <strong>Click to Chat \u2192 Business Hours \u2013 Offline\/Online<\/strong>, and set the active business days and times.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"159\" height=\"153\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/03\/CTC-nav-1-1.webp\" alt=\"\" class=\"wp-image-6393\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-9.png\" alt=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-9.png\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Enable &#8220;Hide When Offline&#8221;<\/h4>\n\n\n\n<p>Select the option Hide when Offline to prevent the button from displaying outside business hours.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-10.png\" alt=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-10.png\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Apply to WooCommerce<\/h4>\n\n\n\n<p>Go to <strong>Click to Chat \u2192 WooCommerce<\/strong>, scroll to <strong>Apply Business Hours Settings<\/strong>, and enable it.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-14.png\" alt=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-14.png\" style=\"width:596px;height:120px\"\/><\/figure>\n\n\n\n<p>Now, the WhatsApp button will be visible only during the selected business hours.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example 2: Show Different WhatsApp Number and CTA When Offline<\/h3>\n\n\n\n<p>Instead of hiding the widget, we can show a different Call to Action and WhatsApp number during offline hours.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Set Business Hours<\/h4>\n\n\n\n<p>Go to <strong>Click to Chat \u2192 Business Hours \u2013 Offline\/Online<\/strong>, and configure our active hours.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-9.png\" alt=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-9.png\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Customize Offline Details<\/h4>\n\n\n\n<p>Uncheck <strong>Hide when Offline<\/strong>, and add the offline WhatsApp number and offline Call to Action.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-13.png\" alt=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-13.png\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Apply to WooCommerce<\/h4>\n\n\n\n<p>Navigate to <strong>Click to Chat \u2192 WooCommerce<\/strong>, and enable <strong>Apply Business Hours Settings<\/strong>.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-14.png\" alt=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/02\/image-14.png\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Now, the WhatsApp number and Call to Action will automatically update based on our business hours for WooCommerce product and shop pages.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Enabling Business Hours Settings for WooCommerce lets we control when the WhatsApp button appears. we can hide it after hours or show a custom message, helping manage customer expectations smoothly.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Related Links<\/strong><\/h4>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/business-hours-online-offline\/\">Business Hours \u2013 Online\/Offline<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/whatsapp-chat-in-woocommerce-shop-page\/\">Add WhatsApp chat in WooCommerce Shop page<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/add-whatsapp-in-woocommerce-single-product-pages\/\">Add WhatsApp In WooCommerce Single Product Pages<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/woocommerce-single-product-pages\/\">Override WooCommerce Settings in Single Product Pages<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/woocommerce_call-to-action\/\">Call To Action For Woocommerce<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/woocommerce_pre-filled-message\/\">Pre-Filled Message For Woocommerce<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default, Business Hours settings in the Click to Chat plugin apply only to the floating chat icon\/button. However, if we&#8217;re using WhatsApp buttons on WooCommerce Shop and Single Product pages, we can also apply these business hours rules there by enabling an additional setting. \ud83d\udd17&nbsp;Included in the PRO plan \u2014&nbsp;View Pricing Note: The WooCommerce [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":"","_htd2_assets":[]},"categories":[63,52],"tags":[],"class_list":["post-2771","post","type-post","status-publish","format-standard","hentry","category-display-settings","category-click-to-chat-pro"],"_links":{"self":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/posts\/2771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/comments?post=2771"}],"version-history":[{"count":0,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/posts\/2771\/revisions"}],"wp:attachment":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/media?parent=2771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/categories?post=2771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/tags?post=2771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}