{"id":150365,"date":"2018-11-05T13:30:59","date_gmt":"2018-11-05T13:30:59","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=150365"},"modified":"2023-12-29T05:10:37","modified_gmt":"2023-12-29T05:10:37","slug":"magento2-cart-replacement","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/","title":{"rendered":"Magento 2 Replace Add To Cart"},"content":{"rendered":"<p><a href=\"https:\/\/store.webkul.com\/magento2-replace-add-to-cart.html\" target=\"_blank\" rel=\"noopener\">Replace Add to Cart for Magento 2<\/a> extension allows the admin to change the standard &#8220;Add to Cart&#8221; button label with a custom text, link, email or a phone number.<\/p>\n<p>The customized Add to Cart button can be used for many purposes like &#8211; pre-launch products, restrict the product purchase for customers, pre-order products, made to order, call to order products etc.<\/p>\n<p>The customized Add to Cart button will be displayed on all the products types like &#8211; simple, configurable, virtual, downloadable, bundle, and grouped product types.<\/p>\n<p>And, will be visible on all pages of the store such as the product page, category page, search page, advanced search page, wishlist page, compare page, and other CMS pages.<\/p>\n<p>Watch the below video tutorial to understand the extension workflow :<\/p>\n<div class=\"wp-block-wk-block-youtube-video wk-block--yt-video wk-block-yt-classic components-placeholder\">\n<div class=\"wk-block--yt-video-frame\">\n<div class=\"wk-block--yt-video-frame-request\" data-plyr-provider=\"youtube\" data-plyr-embed-id=\"YteKZ196Y7A\">\n<div class=\"components-placeholder__instructions\">YteKZ196Y7A<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\"><strong>Features<\/strong><\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<ul>\n<li>The admin can enable or disable the module.<\/li>\n<li>Replace Add to Cart button with a link.<\/li>\n<li>The admin can replace Add to Cart button with an email address.<\/li>\n<li>Replace Add to Cart button with a phone number.<\/li>\n<li>Replace Add to Cart button with a custom text.<\/li>\n<li>Add products Ids for which &#8216;Replace Add To Cart&#8217; will not work.<\/li>\n<li>Select categories for which &#8216;Replace Add To Cart&#8217; will not work.<\/li>\n<li>Custom Add to Cart label is visible on the product pages.<\/li>\n<li>Custom Add to Cart label is visible on the category pages.<\/li>\n<li>The module supports all products types.<\/li>\n<li>Custom Add to Cart label is visible on search and advanced search pages.<\/li>\n<li>Custom Add to Cart label is visible on wishlist page.<\/li>\n<li>The module source code is open for customization.<\/li>\n<li>Custom Add to Cart label is visible on compare page.<\/li>\n<li>Custom Add to Cart label is visible on CMS pages.<\/li>\n<li>The customer can\u2019t check out the product for which the Add To Cart button has been replaced with the link, email and phone number.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\"><strong>Installation<\/strong><\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<p>The installation is quite simple just like the standard\u00a0<a href=\"https:\/\/store.webkul.com\/Magento-2.html\" target=\"_blank\" rel=\"noreferrer noopener\" data-wpel-link=\"internal\">Magento 2 extensions<\/a>.<\/p>\n<p>Customers will get a\u00a0<strong>zip folder<\/strong> and they have to extract the contents of this zip folder on their system.<\/p>\n<p>The extracted folder has an\u00a0<strong>src<\/strong>\u00a0folder, inside the src folder you have the\u00a0<strong>app<\/strong>\u00a0folder.\u00a0You need to transfer this\u00a0<strong>app<\/strong> folder into the Magento 2 (Adobe Commerce) root directory on the server as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png\"><img decoding=\"async\" class=\"alignnone wp-image-90732 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png\" alt=\"INSTALLATION\" width=\"800\" height=\"411\" loading=\"lazy\" \/><\/a><\/p>\n<p>After the successful installation, you have to run these commands in the Magento 2 root directory.<\/p>\n<p><strong>First command &#8211; php bin\/magento setup:upgrade<\/strong><\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-134050 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd1.png\" alt=\"cmd1\" width=\"578\" height=\"109\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd1.png 578w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd1-250x47.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd1-300x57.png 300w\" sizes=\"(max-width: 578px) 100vw, 578px\" loading=\"lazy\" \/><\/a><\/p>\n<p><strong>Second Command &#8211; php bin\/magento setup:di:compile<\/strong><\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd2.png\"><img decoding=\"async\" class=\"aligncenter wp-image-134051 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd2.png\" alt=\"cmd2\" width=\"635\" height=\"128\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd2.png 635w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd2-250x50.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd2-300x60.png 300w\" sizes=\"(max-width: 635px) 100vw, 635px\" loading=\"lazy\" \/><\/a><\/p>\n<p><strong>Third Command &#8211;\u00a0php\u00a0bin\/magento\u00a0setup:static-content:deploy<\/strong><\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd3.png\"><img decoding=\"async\" class=\"aligncenter wp-image-134052 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd3.png\" alt=\"cmd3\" width=\"620\" height=\"122\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd3.png 620w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd3-250x49.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/07\/cmd3-300x59.png 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" loading=\"lazy\" \/><\/a><\/p>\n<p>After running the commands,\u00a0you have to flush the cache from the Magento admin panel by navigating through<strong>-&gt;System-&gt;Cache management<\/strong>\u00a0as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/4-11-e1593446754786.png\"><img decoding=\"async\" class=\"alignnone wp-image-90736 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/4-11-e1593446754786.png\" alt=\"INSTALLATION\" width=\"800\" height=\"549\" loading=\"lazy\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\"><strong>Multi-Lingual Configuration<\/strong><\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>For Multilingual support, please navigate to\u00a0<strong>Store&gt;Configuration&gt;General &gt;Locale Options<\/strong>. And select your desired language from the\u00a0<strong>Locale\u00a0<\/strong>option.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/change-language-magento-2-locale-e1593445275581.png\"><img decoding=\"async\" class=\"alignnone wp-image-90737 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/change-language-magento-2-locale-e1593445275581.png\" alt=\"change-language-magento-2-locale\" width=\"800\" height=\"636\" loading=\"lazy\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\"><strong>Language Translation<\/strong><\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>For module translation, navigate to the following path in your system\u00a0<strong> app\/code\/Webkul\/ReplaceAddToCart\/i18n\/en_US.csv.<\/strong> Open the file named\u00a0<strong>en_US.CSV\u00a0<\/strong>for editing as shown in the below screenshot.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/22-3.png\"><img decoding=\"async\" class=\"alignnone wp-image-90738 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/22-3.png\" alt=\"LANGUAGE TRANSLATION\" width=\"800\" height=\"400\" loading=\"lazy\" \/><\/a><\/p>\n<p>Then replace the words after the\u00a0<strong>comma(,)<\/strong>\u00a0on the right in the file with your translated words.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/csv.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150595 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/csv.png\" alt=\"CSV\" width=\"787\" height=\"274\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/csv.png 787w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/csv-250x87.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/csv-300x104.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/csv-768x267.png 768w\" sizes=\"(max-width: 787px) 100vw, 787px\" loading=\"lazy\" \/><\/a><\/p>\n<p>After editing and translating the CSV file, you need to save the translated file name according to your region language and country code such as &#8211;<strong>\u00a0de_DE.<\/strong>CSV. Followed by uploading the translated file to the same folder from where you have obtained it. Now your module translation is complete.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/2016-05-02_16-25-34-3.png\"><img decoding=\"async\" class=\"alignnone wp-image-90740 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/2016-05-02_16-25-34-3.png\" alt=\"Language translation\" width=\"800\" height=\"399\" loading=\"lazy\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\"><strong>Module Configuration<\/strong><\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<p>After the installation, the admin can easily configure the module settings. For this, the admin will navigate to\u00a0<strong>Stores -&gt; Configuration -&gt;Webkul -&gt; Replace Add To Cart<\/strong> as shown below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-238693\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/Configuration-Settings-Stores-Magento-Admin.png\" alt=\"Configuration-Settings-Stores-Magento-Admin\" width=\"800\" height=\"978\" loading=\"lazy\" \/><\/p>\n<p>Here, the admin will:<\/p>\n<p><strong>Enable &#8211;<\/strong> Select\u00a0<strong>Yes\u00a0<\/strong>to enable the module. Else, set\u00a0<strong>No\u00a0<\/strong>to disable it.<\/p>\n<p><strong>Replace Add To Cart &#8211;<\/strong> Select the options from the drop-down the admin wants to replace with\u00a0<strong>Add To cart\u00a0<\/strong>button.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-238701\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/Configuration-Settings-Stores-Magento-Admin-1.png\" alt=\"Configuration-Settings-Stores-Magento-Admin-1\" width=\"687\" height=\"648\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/Configuration-Settings-Stores-Magento-Admin-1.png 687w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/Configuration-Settings-Stores-Magento-Admin-1-300x283.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/Configuration-Settings-Stores-Magento-Admin-1-250x236.png 250w\" sizes=\"(max-width: 687px) 100vw, 687px\" loading=\"lazy\" \/><\/p>\n<p>Once will click on drop-down following four fields will display:<\/p>\n<ul>\n<li><strong>Text<\/strong>: Select Text If admin wants to replace add to cart with <strong>Text<\/strong> from the drop-down. Label options will appear once admin select Text as shown below:<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-259894\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/text-field.png\" alt=\"text-field\" width=\"800\" height=\"654\" loading=\"lazy\" \/><\/p>\n<ul>\n<li><strong>Link<\/strong>: Select Link If the admin wants to replace add to cart with a <strong>Link<\/strong> from the drop-down. A Label and URL options will appear under the Link field. The admin will enter the label and URL respectively as shown below:<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-259895\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/Configuration_Settings_Stores_Magento_Admin_3.png\" alt=\"Configuration_Settings_Stores_Magento_Admin_3\" width=\"779\" height=\"825\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/Configuration_Settings_Stores_Magento_Admin_3.png 779w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/Configuration_Settings_Stores_Magento_Admin_3-283x300.png 283w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/Configuration_Settings_Stores_Magento_Admin_3-235x249.png 235w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/Configuration_Settings_Stores_Magento_Admin_3-768x813.png 768w\" sizes=\"(max-width: 779px) 100vw, 779px\" loading=\"lazy\" \/><\/p>\n<ul>\n<li><strong>Email<\/strong>: Select <strong>Email<\/strong> If admin wants to replace add to cart with an <strong>Email<\/strong> from the drop-down. An Email Id option will appear against the email field. The admin will enter the email as shown below:<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-259898\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/email_replact_add_to_cart.png\" alt=\"email_replact_add_to_cart\" width=\"800\" height=\"638\" loading=\"lazy\" \/><\/p>\n<ul>\n<li><strong>Phone<\/strong>: The admin will enter the <strong>phone number <\/strong>if selected the Phone as an option for Replace Add To Cart field as shown below.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone wp-image-157644\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/selected-option-1.png\" alt=\"selected-option-1\" width=\"800\" height=\"308\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/selected-option-1.png 897w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/selected-option-1-250x96.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/selected-option-1-300x115.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/selected-option-1-768x295.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<p><strong>Select Category<\/strong><em><strong> &#8211; <\/strong><\/em>On the selected categories, the <strong>&#8220;Replace Add to Cart&#8221;<\/strong> extension functionality will not work. The selected categories will continue to show default Add to Cart on the storefront same as before.<\/p>\n<p><strong>Product Ids <\/strong><em><strong>&#8211;\u00a0<\/strong><\/em>Here the admin can enter the product Ids for which &#8216;Replace Add To Cart&#8217; will not work.<\/p>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Replace <strong>&#8220;Add To Cart&#8221;<\/strong> Button By\u00a0<strong>&#8220;Email Address&#8221;<\/strong> &#8211; Front-End<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>If the admin has set <strong>Email\u00a0<\/strong>as an option for\u00a0<strong>Replace Add To Cart<\/strong>\u00a0field, then it will be visible on the following pages.<\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Category Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured email address will be visible on the category page.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/category.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150424 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/category.png\" alt=\"category\" width=\"800\" height=\"584\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Product Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured email address will be visible on the product page.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/product.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150428 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/product.png\" alt=\"product\" width=\"800\" height=\"676\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Compare Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured email address will be visible to customers on the compare page.<a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/compare.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150432 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/compare.png\" alt=\"compare\" width=\"800\" height=\"780\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Search Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured email address will be visible to the customers on search page<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/search.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150437 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/search.png\" alt=\"search\" width=\"800\" height=\"570\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Advanced Search:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured email address will be visible on the advanced search page.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150446 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search.png\" alt=\"advanced search\" width=\"780\" height=\"597\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search.png 780w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-250x191.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-300x230.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-768x588.png 768w\" sizes=\"(max-width: 780px) 100vw, 780px\" loading=\"lazy\" \/><\/a><\/p>\n<h3><strong><span style=\"text-decoration: underline;\">Wishlist:<\/span><\/strong><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured email address will be visible to customers on the wishlist page.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-281057 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List.png\" alt=\"My-Wish-List\" width=\"1810\" height=\"941\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List.png 1810w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-300x156.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-1200x624.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-250x130.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-768x399.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-1536x799.png 1536w\" sizes=\"(max-width: 1810px) 100vw, 1810px\" loading=\"lazy\" \/><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>CMS Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured email address will be visible to the customers on the CMS page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/cms.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150711 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/cms.png\" alt=\"cms\" width=\"800\" height=\"1073\" loading=\"lazy\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Replace <strong>&#8220;Add To Cart&#8221;<\/strong> Button By\u00a0<strong>&#8220;Phone Number&#8221;<\/strong> &#8211; Front-End<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>If the admin has set <strong>Phone\u00a0<\/strong>as an option for\u00a0<strong>Replace Add To Cart<\/strong>\u00a0field, then it will be visible on the following pages.<\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Category Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured phone number will be visible to the customers on the category page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/category-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150473 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/category-1.png\" alt=\"category\" width=\"800\" height=\"580\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Product Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured phone number will be visible to the customers on the product page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/product-page.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150511 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/product-page.png\" alt=\"product\" width=\"800\" height=\"721\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Compare Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured phone number will be visible to the customers on the compare page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/compare-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150513 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/compare-1.png\" alt=\"compare\" width=\"800\" height=\"801\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Search Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured phone number will be visible to the customers on the search page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/search-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150514 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/search-1.png\" alt=\"search\" width=\"800\" height=\"616\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Advanced Search:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured phone number will be visible to the customers on the advanced search page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150516 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-1.png\" alt=\"advanced search\" width=\"805\" height=\"588\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-1.png 805w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-1-250x183.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-1-300x219.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-1-768x561.png 768w\" sizes=\"(max-width: 805px) 100vw, 805px\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Wishlist:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured phone will be visible to the customers on the wishlist page as shown below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-281058 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-1.png\" alt=\"My-Wish-List-1\" width=\"1811\" height=\"941\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-1.png 1811w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-1-300x156.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-1-1200x624.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-1-250x130.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-1-768x399.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-1-1536x798.png 1536w\" sizes=\"(max-width: 1811px) 100vw, 1811px\" loading=\"lazy\" \/><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>CMS Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured phone number will be visible to the customers on the CMS page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/cms-page.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150716 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/cms-page.png\" alt=\"cms\" width=\"800\" height=\"1089\" loading=\"lazy\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Replace <strong>&#8220;Add To Cart&#8221;<\/strong> Button By A <strong>&#8220;Link&#8221;<\/strong> &#8211; Front-End<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>If the admin has set <strong>Link<\/strong><strong>\u00a0<\/strong>as an option for\u00a0<strong>Replace Add To Cart<\/strong>\u00a0field, then it will be visible on the following pages.<\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Category Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured link will be visible to the customers on the category page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/category-2.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150519 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/category-2.png\" alt=\"category\" width=\"800\" height=\"582\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Product Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured link will be visible to the customers on the product page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/product-page-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150520 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/product-page-1.png\" alt=\"product\" width=\"800\" height=\"736\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Compare Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured link will be visible to the customers on the compare page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/compare-page.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150696 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/compare-page.png\" alt=\"compare\" width=\"800\" height=\"768\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Search Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured link will be visible to the customers on the search page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/search-2.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150522 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/search-2.png\" alt=\"search\" width=\"800\" height=\"616\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Advanced Search:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured link will be visible to the customers on the advanced search page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-2.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150523 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-2.png\" alt=\"advanced search\" width=\"784\" height=\"561\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-2.png 784w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-2-250x179.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-2-300x215.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-search-2-768x550.png 768w\" sizes=\"(max-width: 784px) 100vw, 784px\" loading=\"lazy\" \/><\/a><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Wishlist:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured link will be visible to the customers on the wishlist page as shown below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-281059 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-2.png\" alt=\"My-Wish-List-2\" width=\"1816\" height=\"943\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-2.png 1816w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-2-300x156.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-2-1200x623.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-2-250x130.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-2-768x399.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-2-1536x798.png 1536w\" sizes=\"(max-width: 1816px) 100vw, 1816px\" loading=\"lazy\" \/><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>CMS Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured link will be visible to the customers on the CMS page as shown below.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/cms-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150721 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/cms-1.png\" alt=\"cms\" width=\"800\" height=\"1051\" loading=\"lazy\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Replace <strong>&#8220;Add To Cart&#8221;<\/strong> Button By The <strong>&#8220;Text&#8221;<\/strong> &#8211; Front-End<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>If the admin has set <strong>Text\u00a0<\/strong>as an option for\u00a0<strong>Replace Add To Cart<\/strong> field. then it will be visible on the following pages.<\/p>\n<p><strong>Note:\u00a0<\/strong>The\u00a0<strong>Text\u00a0<\/strong>entered by the admin is just a label for the button and hence, the functionality of the button Replace &#8220;Add to Cart&#8221; always remains the same, no matter whatever text is entered by the admin.<\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Category Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured custom text will be visible to the customers on the category page as shown below.<\/p>\n<h3><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/category-page.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150526 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/category-page.png\" alt=\"category\" width=\"800\" height=\"620\" loading=\"lazy\" \/><\/a><\/h3>\n<h3><span style=\"text-decoration: underline;\"><strong>Product Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured custom text will be visible to the customers on the product page as shown below.<\/p>\n<h3><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/product-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150530 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/product-1.png\" alt=\"product\" width=\"800\" height=\"557\" loading=\"lazy\" \/><\/a><\/h3>\n<h3><span style=\"text-decoration: underline;\"><strong>Compare Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured custom text will be visible on the compare page.<\/p>\n<h3><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/compare-3.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150532 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/compare-3.png\" alt=\"compare\" width=\"800\" height=\"762\" loading=\"lazy\" \/><\/a><\/h3>\n<h3><span style=\"text-decoration: underline;\"><strong>Search Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured custom text will be visible on the search page.<\/p>\n<h3><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/search-page.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150533 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/search-page.png\" alt=\"search\" width=\"800\" height=\"620\" loading=\"lazy\" \/><\/a><\/h3>\n<h3><span style=\"text-decoration: underline;\"><strong>Advanced Search:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured custom text will be visible on the advanced search page.<\/p>\n<h3><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150536 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced.png\" alt=\"advanced search\" width=\"796\" height=\"567\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced.png 796w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-250x178.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-300x214.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/advanced-768x547.png 768w\" sizes=\"(max-width: 796px) 100vw, 796px\" loading=\"lazy\" \/><\/a><\/h3>\n<h3><span style=\"text-decoration: underline;\"><strong>Wishlist:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured custom text will be visible to the customers on the wishlist page as shown below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-281060 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-3.png\" alt=\"My-Wish-List-3\" width=\"1813\" height=\"943\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-3.png 1813w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-3-300x156.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-3-1200x624.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-3-250x130.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-3-768x399.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/My-Wish-List-3-1536x799.png 1536w\" sizes=\"(max-width: 1813px) 100vw, 1813px\" loading=\"lazy\" \/><\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>CMS Page:<\/strong><\/span><\/h3>\n<p>In place\u00a0of <strong>Add to cart\u00a0<\/strong>button, the configured custom text will be visible to customers on the CMS page.<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/cms-page-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150724 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/cms-page-1.png\" alt=\"cms\" width=\"800\" height=\"1042\" loading=\"lazy\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\"><strong>Shopping Cart<\/strong><\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>If a customer tries to check out the product for which the\u00a0<strong>Add to cart\u00a0<\/strong>button has been replaced by a link, email, or phone. Then, the following error message will be displayed as per the configuration set.<\/p>\n<ul>\n<li><strong>Add to cart <\/strong>button has been replaced by\u00a0<strong>Email.<\/strong><\/li>\n<\/ul>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/mail-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150573 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/mail-1.png\" alt=\"mail\" width=\"800\" height=\"770\" loading=\"lazy\" \/><\/a><\/p>\n<ul>\n<li>When\u00a0<strong>Add to cart\u00a0<\/strong>button has been replaced by\u00a0<strong>Phone.<\/strong><\/li>\n<\/ul>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/phone-2.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150574 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/phone-2.png\" alt=\"phone number\" width=\"800\" height=\"776\" loading=\"lazy\" \/><\/a><\/p>\n<ul>\n<li>When <strong>Add to cart\u00a0<\/strong>button has been replaced by\u00a0<strong>Link.<\/strong><\/li>\n<\/ul>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/cart-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-150575 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/cart-1.png\" alt=\"link\" width=\"800\" height=\"780\" loading=\"lazy\" \/><\/a><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Note:<\/strong><\/span>\u00a0The customers can easily add the products to the cart and checkout when\u00a0<strong>Add to cart\u00a0<\/strong>button is replaced by the custom\u00a0<strong>Text.<\/strong><\/p>\n<h3><strong>Cart Replacement Based on Product<\/strong><\/h3>\n<\/div>\n<p>For an instance, if the same product is added under two categories even if only one of the categories is selected to restrict &#8220;Replace add to cart&#8221; functionality.<\/p>\n<div><\/div>\n<p><strong>On the Front end:<\/strong><\/p>\n<p>Add to cart button will still appear, rather than Replace add to cart.<\/p>\n<p>Since for that particular product in the back end Admin has configured to restrict &#8220;Replace Add to cart&#8221; by listing its <strong>Product Id, <\/strong>and Hence it will reflect on the front end based on product.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-271406 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/blog-rac.png\" alt=\"blog-rac-cart replacement\" width=\"1120\" height=\"737\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/blog-rac.png 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/blog-rac-300x197.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/blog-rac-250x165.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/11\/blog-rac-768x505.png 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/p>\n<div><\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-body\">\n<div><\/div>\n<\/div>\n<\/div>\n<p>That\u2019s all for\u00a0<strong>Magento 2 (Adobe Commerce) Replace Add To Cart<\/strong> module. Still, have any issues please feel free to add a ticket at\u00a0\u00a0<a href=\"https:\/\/webkul.uvdesk.com\/\" rel=\"noopener noreferrer\">https:\/\/webkul.uvdesk.com\/<\/a><\/p>\n<div class=\"panel panel-primary\">\n<div class=\"panel-body\">\n<div>\n<p>Explore the\u00a0<a href=\"https:\/\/webkul.com\/adobe-commerce-cloud\/\" target=\"_blank\" rel=\"noopener\" data-wpel-link=\"internal\">Adobe Commerce Cloud development services<\/a> by Webkul.\u00a0 Also, other quality <a href=\"https:\/\/store.webkul.com\/Magento-2.html\" target=\"_blank\" rel=\"noreferrer noopener\" data-wpel-link=\"internal\">Magento 2 extensions<\/a>.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Replace Add to Cart for Magento 2 extension allows the admin to change the standard &#8220;Add to Cart&#8221; button label with a custom text, link, email or a phone number. The customized Add to Cart button can be used for many purposes like &#8211; pre-launch products, restrict the product purchase for customers, pre-order products, made <a href=\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":152,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[7788,7789,7790],"class_list":["post-150365","post","type-post","status-publish","format-standard","hentry","category-magento2","tag-change-add-to-cart-button","tag-customize-add-to-cart-button","tag-replace-add-to-cart-button"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Magento 2 Cart Replacement | Cart Redirect Button<\/title>\n<meta name=\"description\" content=\"The Magento 2 Cart Replacement module lets the admin change the standard &quot;Add to Cart&quot; button with a custom text, link, email, or a phone..\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2 Cart Replacement | Cart Redirect Button\" \/>\n<meta property=\"og:description\" content=\"The Magento 2 Cart Replacement module lets the admin change the standard &quot;Add to Cart&quot; button with a custom text, link, email, or a phone..\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-05T13:30:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-29T05:10:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png\" \/>\n<meta name=\"author\" content=\"Kajal Sharma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kajal Sharma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/\"},\"author\":{\"name\":\"Kajal Sharma\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/eeac324d79cd929a522950586c3d26bc\"},\"headline\":\"Magento 2 Replace Add To Cart\",\"datePublished\":\"2018-11-05T13:30:59+00:00\",\"dateModified\":\"2023-12-29T05:10:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/\"},\"wordCount\":1902,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png\",\"keywords\":[\"Change Add To Cart Button\",\"Customize Add To Cart Button\",\"Replace Add To Cart Button\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/\",\"url\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/\",\"name\":\"Magento 2 Cart Replacement | Cart Redirect Button\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png\",\"datePublished\":\"2018-11-05T13:30:59+00:00\",\"dateModified\":\"2023-12-29T05:10:37+00:00\",\"description\":\"The Magento 2 Cart Replacement module lets the admin change the standard \\\"Add to Cart\\\" button with a custom text, link, email, or a phone..\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png\",\"width\":1302,\"height\":384,\"caption\":\"INSTALLATION\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magento 2 Replace Add To Cart\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/eeac324d79cd929a522950586c3d26bc\",\"name\":\"Kajal Sharma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0d2cd60d1df5bcebcbac2ccff8f759366c837d2468ff65a57d369d8c42b7d6f3?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0d2cd60d1df5bcebcbac2ccff8f759366c837d2468ff65a57d369d8c42b7d6f3?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Kajal Sharma\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/kajalsharma-magento920\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Magento 2 Cart Replacement | Cart Redirect Button","description":"The Magento 2 Cart Replacement module lets the admin change the standard \"Add to Cart\" button with a custom text, link, email, or a phone..","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/","og_locale":"en_US","og_type":"article","og_title":"Magento 2 Cart Replacement | Cart Redirect Button","og_description":"The Magento 2 Cart Replacement module lets the admin change the standard \"Add to Cart\" button with a custom text, link, email, or a phone..","og_url":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2018-11-05T13:30:59+00:00","article_modified_time":"2023-12-29T05:10:37+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png","type":"","width":"","height":""}],"author":"Kajal Sharma","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Kajal Sharma","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/"},"author":{"name":"Kajal Sharma","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/eeac324d79cd929a522950586c3d26bc"},"headline":"Magento 2 Replace Add To Cart","datePublished":"2018-11-05T13:30:59+00:00","dateModified":"2023-12-29T05:10:37+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/"},"wordCount":1902,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png","keywords":["Change Add To Cart Button","Customize Add To Cart Button","Replace Add To Cart Button"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/","url":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/","name":"Magento 2 Cart Replacement | Cart Redirect Button","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png","datePublished":"2018-11-05T13:30:59+00:00","dateModified":"2023-12-29T05:10:37+00:00","description":"The Magento 2 Cart Replacement module lets the admin change the standard \"Add to Cart\" button with a custom text, link, email, or a phone..","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/magento2-cart-replacement\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/07\/1-9-e1634634198330.png","width":1302,"height":384,"caption":"INSTALLATION"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/magento2-cart-replacement\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Magento 2 Replace Add To Cart"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/eeac324d79cd929a522950586c3d26bc","name":"Kajal Sharma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0d2cd60d1df5bcebcbac2ccff8f759366c837d2468ff65a57d369d8c42b7d6f3?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0d2cd60d1df5bcebcbac2ccff8f759366c837d2468ff65a57d369d8c42b7d6f3?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Kajal Sharma"},"url":"https:\/\/webkul.com\/blog\/author\/kajalsharma-magento920\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/150365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/152"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=150365"}],"version-history":[{"count":79,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/150365\/revisions"}],"predecessor-version":[{"id":416089,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/150365\/revisions\/416089"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=150365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=150365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=150365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}