{"id":6764,"date":"2025-02-04T00:00:00","date_gmt":"2025-02-04T00:00:00","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/?p=6764"},"modified":"2025-06-16T12:54:53","modified_gmt":"2025-06-16T07:24:53","slug":"how-to-add-click-to-call-button-in-shopify","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/how-to-add-click-to-call-button-in-shopify\/","title":{"rendered":"How to Add Click to Call Button in Shopify? &#8211; Easy Way"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The faster your customers can reach you, the better their experience and the higher the chances of conversions.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One way to achieve this is a click to call button.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is more like a <a href=\"https:\/\/meetanshi.com\/blog\/add-telegram-chat-button-to-shopify\/\" data-type=\"link\" data-id=\"https:\/\/meetanshi.com\/blog\/add-telegram-chat-button-to-shopify\/\">Telegram chat<\/a> or Whatsapp chat button you keep on your store, but here, visitors directly call you instead of chatting.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog, get the direct solution to add click to call button in Shopify without any third-party app or need of technical help. Just follow the steps to activate the click to call feature in your store.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is a Click to Call Button &amp; How Does it Work?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A click to call button is a one-click feature for customers to contact you via call. You can show the Shopify phone call button on various pages of your store like this.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"694\" height=\"1114\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/1-Click-to-Call-Button-Preview.png\" alt=\"Click to Call Button Preview\" class=\"wp-image-6765\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/1-Click-to-Call-Button-Preview.png 694w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/1-Click-to-Call-Button-Preview-250x401.png 250w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/1-Click-to-Call-Button-Preview-403x647.png 403w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/1-Click-to-Call-Button-Preview-120x193.png 120w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">On clicking the button, your customer&#8217;s phone dialer pad will automatically open with your phone number pre-filled, which they can directly call.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Making it extremely easy for customers to connect with you on the spot and easy for you to solve their queries instantly.&nbsp; Now, if you are thinking how do I add a call button to Shopify? Here are the 3 easy to follow steps.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Add Click to Call in Shopify<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Open the Theme File Editor&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">From your Shopify admin panel, head to <strong>Online Store &gt; Themes.<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"345\" height=\"253\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/2-Open-the-Theme-File-Editor.png\" alt=\"Open the Theme File Editor\" class=\"wp-image-6768\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/2-Open-the-Theme-File-Editor.png 345w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/2-Open-the-Theme-File-Editor-250x183.png 250w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/2-Open-the-Theme-File-Editor-120x88.png 120w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Then, from the right side, click on the three dots next to Customize and select <strong>Edit code.<\/strong>&nbsp;&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"340\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/3-Click-Customize-and-Edit-Code.png\" alt=\"Click Customize and Edit Code\" class=\"wp-image-6770\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/3-Click-Customize-and-Edit-Code.png 643w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/3-Click-Customize-and-Edit-Code-250x132.png 250w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/3-Click-Customize-and-Edit-Code-403x213.png 403w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/3-Click-Customize-and-Edit-Code-120x63.png 120w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Step 2: Create a click-to-call Snippet<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now from the theme file editor, create a new snippet named \u201cmeetanshi-click-to-call\u201d and click Done.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"881\" height=\"652\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/4-Create-a-click-to-call-Snippet.png\" alt=\"Create a Click to Call Snippet\" class=\"wp-image-6772\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/4-Create-a-click-to-call-Snippet.png 881w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/4-Create-a-click-to-call-Snippet-250x185.png 250w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/4-Create-a-click-to-call-Snippet-700x518.png 700w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/4-Create-a-click-to-call-Snippet-768x568.png 768w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/4-Create-a-click-to-call-Snippet-403x298.png 403w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/4-Create-a-click-to-call-Snippet-120x89.png 120w\" sizes=\"auto, (max-width: 881px) 100vw, 881px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Then add the following code to the snippet:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{% assign call_button_enabled = true %}\n{% assign call_button_text = \"Call Us\" %}\n{% assign call_button_number = \"+1234567890\" %}\n{% assign call_button_bg_color = \"#28a745\" %} &lt;!-- Button background color -->\n{% assign call_button_text_color = \"#ffffff\" %} &lt;!-- Button text and icon color -->\n{% assign call_button_size = \"16px\" %} &lt;!-- Button font and icon size -->\n{% assign call_button_padding = \"12px 24px\" %} &lt;!-- Button padding -->\n{% assign call_button_position = \"bottom-right\" %} &lt;!-- Options: bottom-right, bottom-left -->\n\n{% if call_button_enabled %}\n&lt;style>\n  .call-button {\n    position: fixed;\n    {% if call_button_position == \"bottom-right\" %}\n      bottom: 20px;\n      right: 20px;\n    {% elsif call_button_position == \"bottom-left\" %}\n      bottom: 20px;\n      left: 20px;\n    {% endif %}\n    background-color: {{ call_button_bg_color }};\n    color: {{ call_button_text_color }};\n    padding: {{ call_button_padding }};\n    border-radius: 50px;\n    font-size: {{ call_button_size }};\n    font-weight: bold;\n    text-decoration: none;\n    display: flex;\n    align-items: center;\n    gap: 10px;\n    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n    transition: transform 0.3s ease, box-shadow 0.3s ease;\n    z-index: 9999;\n  }\n  .call-button:hover {\n    transform: translateY(-3px);\n    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);\n  }\n  .call-button svg {\n    width: {{ call_button_size }};\n    height: {{ call_button_size }};\n    fill: {{ call_button_text_color }};\n  }\n&lt;\/style>\n\n&lt;a class=\"call-button\" href=\"tel:{{ call_button_number }}\">\n  &lt;svg alt=\u201dmeetanshi click to call icon\u201d xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n    &lt;path d=\"M6.62 10.79a15.053 15.053 0 006.59 6.59l2.2-2.2a1 1 0 011.05-.24c1.12.37 2.33.57 3.54.57a1 1 0 011 1v3.01a1 1 0 01-1 1c-10.37 0-18.81-8.44-18.81-18.81a1 1 0 011-1H4.7a1 1 0 011 1c0 1.21.2 2.42.57 3.54a1 1 0 01-.24 1.05l-2.2 2.2z\"\/>\n  &lt;\/svg>\n  {{ call_button_text }}\n&lt;\/a>\n{% endif %}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure to replace the values of the phone number, text, colours, and sizes to customize the click-to-call button as per your needs.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1864\" height=\"1066\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/5-Add-Code-and-Save.png\" alt=\"Add Code and Save\" class=\"wp-image-6774\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/5-Add-Code-and-Save.png 1864w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/5-Add-Code-and-Save-250x143.png 250w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/5-Add-Code-and-Save-700x400.png 700w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/5-Add-Code-and-Save-768x439.png 768w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/5-Add-Code-and-Save-1536x878.png 1536w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/5-Add-Code-and-Save-403x230.png 403w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/5-Add-Code-and-Save-964x551.png 964w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/5-Add-Code-and-Save-120x69.png 120w\" sizes=\"auto, (max-width: 1864px) 100vw, 1864px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Once done, <strong>save<\/strong> the snippet file.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Render the Snippet File&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now, open the theme.liquid file and add the following code before the closing &lt;\/body&gt; tag:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{% render &#8220;meetanshi-click-to-call&#8221; %}<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1999\" height=\"1089\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/6-Render-the-Snippet-File.png\" alt=\"Render the Snippet File\" class=\"wp-image-6776\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/6-Render-the-Snippet-File.png 1999w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/6-Render-the-Snippet-File-250x136.png 250w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/6-Render-the-Snippet-File-700x381.png 700w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/6-Render-the-Snippet-File-768x418.png 768w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/6-Render-the-Snippet-File-1536x837.png 1536w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/6-Render-the-Snippet-File-403x220.png 403w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/6-Render-the-Snippet-File-964x525.png 964w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/6-Render-the-Snippet-File-120x65.png 120w\" sizes=\"auto, (max-width: 1999px) 100vw, 1999px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Then, click <strong>Save. <\/strong>Take a preview and you will be able to see the click-to-call button in your Shopify store.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1999\" height=\"1019\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/7-Click-Save-and-Preview.png\" alt=\"Click Save and Preview\" class=\"wp-image-6778\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/7-Click-Save-and-Preview.png 1999w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/7-Click-Save-and-Preview-250x127.png 250w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/7-Click-Save-and-Preview-700x357.png 700w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/7-Click-Save-and-Preview-768x391.png 768w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/7-Click-Save-and-Preview-1536x783.png 1536w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/7-Click-Save-and-Preview-403x205.png 403w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/7-Click-Save-and-Preview-964x491.png 964w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/02\/7-Click-Save-and-Preview-120x61.png 120w\" sizes=\"auto, (max-width: 1999px) 100vw, 1999px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Instead of adding any third-party Shopify app that might take up extra space in your backend, you can use the mentioned code in your store directly.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure to edit your phone call while adding the code and using a phone number exclusively for customer support \u2014 there are chances of calls going unnoticed if you are busy with other tasks.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The faster your customers can reach you, the better their experience and the higher the chances of conversions.&nbsp; One way to achieve this is a&#8230;<\/p>\n","protected":false},"author":5,"featured_media":6783,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[787],"tags":[],"class_list":["post-6764","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-shopify"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/6764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=6764"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/6764\/revisions"}],"predecessor-version":[{"id":16865,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/6764\/revisions\/16865"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media\/6783"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=6764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=6764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=6764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}