{"id":1458,"date":"2021-05-19T10:25:22","date_gmt":"2021-05-19T04:55:22","guid":{"rendered":"http:\/\/holithemes.com\/plugins\/click-to-chat\/?p=1458"},"modified":"2026-09-30T16:55:56","modified_gmt":"2026-09-30T11:25:56","slug":"woocommerce-single-product-pages","status":"publish","type":"post","link":"https:\/\/holithemes.com\/plugins\/click-to-chat\/woocommerce-single-product-pages\/","title":{"rendered":"Override WooCommerce Settings in Single Product Pages"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">We can change the Prefilled message, Call to Action, and styles for WooCommerce single product pages. We can also add WhatsApp at selected positions like the \u2018After add to Cart\u2019 button.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to\u00a0<strong>Click to Chat \u2192 WooCommerce \u2192 Overwrite settings \u2192 Single Product<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"181\" height=\"300\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2021\/09\/woocommerce-navigation-1.webp\" alt=\"\" class=\"wp-image-7601\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>\u2018Click to Chat\u2019 \u2192 \u2018WooCommerce\u2019 settings page will display only if the WooCommerce plugin is activated.<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\">Override Settings for WooCommerce Pages<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h4 id=\"pre-filled-message-for-woocommerce-single-product-page\" class=\"wp-block-heading\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-8-color\"><strong>Pre-Filled Message <\/strong><\/mark><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can add a separate&nbsp;Pre-Filled&nbsp;text for WooCommerce Single product pages in this section. The pre-filled message is a welcome text, which makes it easier for the web page visitor to start the conversation.&nbsp;It has several variables like the following.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>{product}<\/strong>: Name of the product.<\/li>\n\n\n\n<li><strong>{price}<\/strong>: Current price of the product.<\/li>\n\n\n\n<li><strong>{regular_price}<\/strong>: Price without any discount.<\/li>\n\n\n\n<li><strong>{sku}<\/strong>: Stock left.<\/li>\n\n\n\n<li><strong>{site}<\/strong>: Name of the website.<\/li>\n\n\n\n<li><strong>{url}<\/strong>: The current page link.<\/li>\n\n\n\n<li><strong>{title}<\/strong>: The current page title.<\/li>\n\n\n\n<li><strong>{{price}}:<\/strong>&nbsp;Price with currency formatting (symbol, decimal &amp; thousand separator)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For example,<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"832\" height=\"839\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2021\/05\/overwrite-single-pro-page-prefill.webp\" alt=\"\" class=\"wp-image-7631\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2021\/05\/overwrite-single-pro-page-prefill.webp 832w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2021\/05\/overwrite-single-pro-page-prefill-150x150.webp 150w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2021\/05\/overwrite-single-pro-page-prefill-297x300.webp 297w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2021\/05\/overwrite-single-pro-page-prefill-768x774.webp 768w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h4 id=\"call-to-action-for-woocommerce-single-product-pages\" class=\"wp-block-heading has-ast-global-color-8-color has-text-color\"><strong>Call To Action <\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Add a separate call-to-action for the WooCommerce single product pages. Call-To-Action is a text that appears along with the WhatsApp Icon\/Button. Using the variables like {product}, {price}, {regular_price}, {sku} will replace details of the products at which the customers are looking at. The Call-To-Action value can be changed at the <a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/change-values-at-page-level\/\">Page-level settings<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example,<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"510\" height=\"98\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2020\/08\/overwrite-single-pro-page-cta.webp\" alt=\"\" class=\"wp-image-7613\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2020\/08\/overwrite-single-pro-page-cta.webp 510w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2020\/08\/overwrite-single-pro-page-cta-300x58.webp 300w\" sizes=\"(max-width: 510px) 100vw, 510px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">These settings are specific to single product pages, and will not apply for loop posts like shop, category, or archive posts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Override Settings for Shop, Cart, Checkout and Account Pages (Using Page-Level Settings)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To apply WhatsApp settings to the Shop, Cart, or Checkout pages, we can use Page-Level Settings to override global settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to the respective page (Shop, Cart, or Checkout) in Pages \u2192 Edit, then scroll to the Click to Chat \u2013 Page-Level Settings section.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Options we can override:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Pre-filled message<\/li>\n\n\n\n<li>Call to Action<\/li>\n\n\n\n<li>Button style and position<\/li>\n\n\n\n<li>Greetings (PRO)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">By enabling &#8220;Override Global Settings&#8221;, we can customize the WhatsApp experience for these pages independently.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/change-values-at-page-level\/\">Page- Level Settings Documentation<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h4 id=\"greetings\" class=\"wp-block-heading has-ast-global-color-8-color has-text-color\"><strong>Greetings (PRO)<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the PRO version, we can override  and Choose a <strong>Greetings Template<\/strong> for Single Product pages.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Default:<\/strong> Use the template selected in <strong>Click to Chat \u2192 Greetings<\/strong>.<\/li>\n\n\n\n<li><strong>No Greetings Dialog:<\/strong> Disable the greetings dialog on Single Product pages.<\/li>\n\n\n\n<li><strong>Other templates:<\/strong> Select a different greetings template for Single Product pages.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Header Content<\/strong>, <strong>Main Content<\/strong>, <strong>Bottom Content<\/strong>, and <strong>Greetings Call to Action<\/strong> fields are blank by default and use the content from <strong>Click to Chat \u2192 Greetings<\/strong>. To customize them for Single Product pages, enter your preferred content and click <strong>Save<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"334\" height=\"1002\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2021\/05\/greetings-woo-overwrite.webp\" alt=\"\" class=\"wp-image-7633\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2021\/05\/greetings-woo-overwrite.webp 334w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2021\/05\/greetings-woo-overwrite-100x300.webp 100w\" sizes=\"(max-width: 334px) 100vw, 334px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On a single product page, we can summarize the product details and make it easy for a customer to place an order.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 id=\"add-whatsapp-in-woocommerce-single-product-pages\" class=\"wp-block-heading has-ast-global-color-8-color has-text-color\">Add WhatsApp<strong> <\/strong>in Shop &amp; Single Product Pages<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In addition to customizing the content for WooCommerce single product pages, you can also easily add the WhatsApp widget to these pages. This allows customers to initiate a conversation directly from the product page, making it convenient to inquire about specific products.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/add-whatsapp-in-woocommerce-single-product-pages\/\" data-type=\"URL\" data-id=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/add-whatsapp-in-woocommerce-single-product-pages\/\" target=\"_blank\" rel=\"noreferrer noopener\">Add WhatsApp In WooCommerce Single Product Pages<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/whatsapp-chat-in-woocommerce-shop-page\/\">Add WhatsApp in WooCommerce Shop Pages<br><\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We can change the Prefilled message, Call to Action, and styles for WooCommerce single product pages. We can also add WhatsApp at selected positions like the \u2018After add to Cart\u2019 button. Navigate to\u00a0Click to Chat \u2192 WooCommerce \u2192 Overwrite settings \u2192 Single Product. \u2018Click to Chat\u2019 \u2192 \u2018WooCommerce\u2019 settings page will display only if the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","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":"default","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":[47],"tags":[],"class_list":["post-1458","post","type-post","status-publish","format-standard","hentry","category-woocommerce"],"_links":{"self":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/posts\/1458","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/comments?post=1458"}],"version-history":[{"count":1,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/posts\/1458\/revisions"}],"predecessor-version":[{"id":7634,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/posts\/1458\/revisions\/7634"}],"wp:attachment":[{"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/media?parent=1458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/categories?post=1458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/tags?post=1458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}