{"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":"2025-05-19T09:53:59","modified_gmt":"2025-05-19T04:23:59","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>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>Navigate to <strong>Click to Chat -&gt; WooCommerce -&gt; WooCommerce &#8211; Single Product Pages<\/strong>.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"158\" height=\"180\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2021\/05\/woo-nav.webp\" alt=\"\" class=\"wp-image-6320\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><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><\/p>\n\n\n\n\n\n<p><\/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><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"pre-filled-message-for-woocommerce-single-product-page\"><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><\/p>\n\n\n\n<p>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>For example,<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"835\" height=\"311\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/02\/image-1.png\" alt=\"\" class=\"wp-image-4079\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/02\/image-1.png 835w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/02\/image-1-300x112.png 300w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/02\/image-1-768x286.png 768w\" sizes=\"(max-width: 835px) 100vw, 835px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"call-to-action-for-woocommerce-single-product-pages\"><strong>Call To Action <\/strong><\/h4>\n\n\n\n<p>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>For example,<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"624\" height=\"81\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/02\/image-2.png\" alt=\"\" class=\"wp-image-4080\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/02\/image-2.png 624w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2023\/02\/image-2-300x39.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p>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><\/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>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>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><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>By enabling &#8220;Override Global Settings&#8221;, we can customize the WhatsApp experience for these pages independently.<\/p>\n\n\n\n<p><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><\/p>\n\n\n\n<h4 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"greetings\"><strong>Greetings (PRO)<\/strong><\/h4>\n\n\n\n<p><\/p>\n\n\n\n<p>In the PRO version, we can override greetings content &#8211; header, main, bottom content, and call to action to all the wooCommerce single product pages.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" width=\"638\" height=\"1024\" src=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/06\/image-2-638x1024.webp\" alt=\"\" class=\"wp-image-3435\" srcset=\"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/06\/image-2-638x1024.webp 638w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/06\/image-2-187x300.webp 187w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/06\/image-2-768x1232.webp 768w, https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-content\/uploads\/2022\/06\/image-2.webp 855w\" sizes=\"(max-width: 638px) 100vw, 638px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>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><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\"\/>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading has-ast-global-color-8-color has-text-color\" id=\"add-whatsapp-in-woocommerce-single-product-pages\">Add WhatsApp<strong> <\/strong>in Shop &amp; Single Product Pages<\/h3>\n\n\n\n<p>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><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><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 Click to Chat -&gt; WooCommerce -&gt; WooCommerce &#8211; Single Product Pages. \u2018Click to Chat\u2019 \u2192 \u2018WooCommerce\u2019 settings page will display only if [&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":0,"href":"https:\/\/holithemes.com\/plugins\/click-to-chat\/wp-json\/wp\/v2\/posts\/1458\/revisions"}],"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}]}}