{"id":153969,"date":"2018-12-21T11:39:23","date_gmt":"2018-12-21T11:39:23","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=153969"},"modified":"2025-03-03T13:43:15","modified_gmt":"2025-03-03T13:43:15","slug":"opencart-replace-add-to-cart","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/","title":{"rendered":"Opencart Replace Add to Cart Button"},"content":{"rendered":"<p>To make the Add to Cart button perform multiple actions on Opencart Replace Add to Cart Button can be an interesting feature for the Opencart store.<\/p>\n<p>The Add to Cart button is an important aspect of any online store and therefore adding more functionalities to it can benefit the store owner.<\/p>\n<p>Opencart Replace Add to Cart Button module facilitates the admin to add multiple actions to an Add to Cart button such as Text, Email, Link, Phone etc.<\/p>\n<p>The admin will have to define a Type and then choose an action that will get the functionalities of the Type which the admin defines.<\/p>\n<p>Most of all, the additional functionalities of the Add to Cart button will simplify things for the customers.<\/p>\n<p>Just by clicking on the add to cart button, the customers can perform various functions without having to run from pillar to post on visiting an online store.<\/p>\n<p><strong>Note:<\/strong><\/p>\n<p>1. This module supports all templates and themes including the Journal theme.<\/p>\n<p>2. Opencart Replace Add to Cart Button module supports the Multi-Store feature of default Opencart.<\/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=\"50i_dVLeZ2I\">\n<div class=\"components-placeholder__instructions\">50i_dVLeZ2I<\/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\">Features<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<ul>\n<li>The admin can define a Type such as Text, Link, Email, Phone.<\/li>\n<li>The admin chooses the action such as link, text, email phone for the type defined.<\/li>\n<li>If Text type and action are chosen, then the text of the Add to Cart button changes.<\/li>\n<li>Under link type and action, the admin provides a link on which the customer redirects.<\/li>\n<li>Through Email type and action, the mail is sent to the admin as well as the customer.<\/li>\n<li>Under Phone type and action, the contact details like email and phone number are visible to the customer.<\/li>\n<li>The admin can also choose a different Action with a Type in the admin panel.<\/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\">Installation<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<h3>Upload Files<a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154732\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png\" alt=\"installation\" width=\"800\" height=\"308\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png 1132w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation-250x96.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation-300x116.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation-768x296.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/h3>\n<figure><\/figure>\n<p>First, extract the downloaded zip file. After that, open the correct Opencart Version Folder. According to Opencart Version installed in your system.<\/p>\n<p>Then, upload <strong>admin<\/strong>\u00a0and <strong>catalog<\/strong> to the\u00a0Opencart root directory.<\/p>\n<h3>Refresh Modifications<\/h3>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-modifications-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-143867\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-modifications-1.png\" alt=\"replace add to cart button\" width=\"800\" height=\"385\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-modifications-1.png 1285w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-modifications-1-250x120.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-modifications-1-300x144.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-modifications-1-768x369.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-modifications-1-1200x577.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>The user can navigate through\u00a0<strong>Extensions &gt; Modifications<\/strong>. Now click the <strong>Refresh<\/strong> button as visible in the below screenshot.<\/p>\n<h3>Edit User Groups<a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-user-groups.png\"><img decoding=\"async\" class=\"aligncenter wp-image-143871\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-user-groups.png\" alt=\"replace add to cart button\" width=\"800\" height=\"487\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-user-groups.png 1285w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-user-groups-250x152.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-user-groups-300x183.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-user-groups-768x467.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/09\/webkul-opencart-bulk-order-processing-module-user-groups-1200x730.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/h3>\n<p>After that, go to\u00a0<strong>System &gt; Users &gt; Usergroups<\/strong>. And then edit \u2018<strong>Administrator<\/strong>\u2019. Click\u00a0<strong>Select All<\/strong>\u00a0for both Access Permission and Modify Permission and\u00a0<strong>Save<\/strong>\u00a0it.<\/p>\n<p>Install<a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-install.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154730\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-install.png\" alt=\"replace add to cart\" width=\"800\" height=\"551\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-install.png 1281w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-install-250x172.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-install-300x207.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-install-768x529.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-install-1200x827.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/p>\n<p>Now navigate to\u00a0<strong>Extensions &gt; Modules<\/strong>. Find<strong>\u00a0Webkul Replace Add to Cart<\/strong>\u00a0from the list. Click the\u00a0<strong>Install<\/strong> button as visible in the screenshot below.<\/p>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Module Configuration<\/h3>\n<\/div>\n<\/div>\n<\/div>\n<p>After the successfully installing the Opencart Replace Add to Cart Button module, the admin can view the Opencart Replace Add to Cart Button tab under Extension &gt; Extensions &gt; Modules.<\/p>\n<div class=\"panel panel-primary\">\n<div class=\"panel-body\"><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-extension-3.png\"><img decoding=\"async\" class=\"aligncenter wp-image-153980\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-extension-3.png\" alt=\"extension\" width=\"800\" height=\"393\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-extension-3.png 1297w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-extension-3-250x123.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-extension-3-300x147.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-extension-3-768x377.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-extension-3-1200x589.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/div>\n<p class=\"panel-body\">The Add to Cart Button functionalities can managed by The admin under <strong>Extension &gt; Extensions\u00a0&gt; Modules &gt; Webkul Replace Add to Cart<\/strong><\/p>\n<div class=\"panel-body\"><strong>.\u00a0<\/strong><br \/><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-modules-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-153987\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-modules-1.png\" alt=\"modules\" width=\"800\" height=\"647\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-modules-1.png 1286w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-modules-1-250x202.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-modules-1-300x243.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-modules-1-768x621.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-modules-1-1200x970.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/div>\n<div class=\"panel-body\">\n<p>The admin can click on the edit button for the Webkul Replace Add to Cart.<\/p>\n<p>On clicking the edit button, the user can view the Status field, Store field, Type Field and the Action Field.<\/p>\n<p>The admin will have to choose any of the Type tabs\u00a0as per the requirement.<\/p>\n<p>Once the Type is chosen, thereafter, the admin can choose an action from the given list against the Action tab such as none, text, link email, phone.<\/p>\n<div class=\"panel-body\">\u00a0<\/div>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-no-action-chosen.png\"><img decoding=\"async\" class=\"aligncenter wp-image-153991\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-no-action-chosen.png\" alt=\"replace add to cart\" width=\"800\" height=\"331\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-no-action-chosen.png 1284w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-no-action-chosen-250x104.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-no-action-chosen-300x124.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-no-action-chosen-768x318.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-no-action-chosen-1200x497.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/p>\n<p>If the admin chooses &#8216;None&#8217; against the action button, then no action is performed on tapping the add to cart button.<\/p>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Choosing a Type with an Action<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<p>Let us understand how a Type works when a specific Action is chosen in the backend.<\/p>\n<h4>When admin chooses Type as &#8220;Text&#8221; and Action as &#8216;Text&#8217;-:<\/h4>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154017\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text.png\" alt=\"replace add to cart\" width=\"800\" height=\"366\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text.png 1286w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-250x115.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-300x137.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-768x352.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-1200x550.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>In\u00a0the backend, the admin will choose &#8216;Text&#8217; against the\u00a0&#8220;Type&#8221; tab and against the &#8220;Action&#8221; tab the admin will choose &#8216;Text&#8217; as shown in the image below.<\/p>\n<p>Thereafter, the customer will\u00a0log\u00a0in to the frontend and choose a product from the product page.<\/p>\n<p>The label of the add to cart button changes to DEMO PRODUCT as defined by the admin in the backend,\u00a0 as &#8216;Text&#8217; and Action as &#8216;Text&#8217; while configuring the module.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-product-page.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154007\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-product-page.png\" alt=\"product page\" width=\"800\" height=\"1379\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-product-page.png 964w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-product-page-144x249.png 144w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-product-page-174x300.png 174w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-product-page-768x1324.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-product-page-594x1024.png 594w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<h4>When admin chooses Type as &#8220;Link&#8221; and Action as &#8216;Link&#8217;-:<\/h4>\n<p>The admin will have to choose &#8216;Link&#8217; against the &#8220;Type&#8221; tab and &#8216;Link&#8217; against the action button as well as shown in the image below.<\/p>\n<p>Against the &#8220;Type&#8221; tab on choosing &#8216;Link&#8217; the admin will have to add the route link, for instance, of a category or a product or a page.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-add-link.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154032\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-add-link.png\" alt=\"link\" width=\"800\" height=\"371\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-add-link.png 1286w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-add-link-250x116.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-add-link-300x139.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-add-link-768x356.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-add-link-1200x556.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>It redirects the customer directly to the category or product or page on clicking the add to cart button.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-demo-product.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154033\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-demo-product.png\" alt=\"replace add to cart\" width=\"800\" height=\"745\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-demo-product.png 969w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-demo-product-250x233.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-demo-product-300x279.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-module-demo-product-768x715.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>On clicking the\u00a0Demo Product button for MacBook Air, it redirects the user to the link which the admin adds in the backend.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-category-link.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154037\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-category-link.png\" alt=\"replace add to cart\" width=\"800\" height=\"441\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-category-link.png 1237w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-category-link-250x138.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-category-link-300x165.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-category-link-768x423.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-category-link-1200x662.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>The admin adds the link of the Category- &#8216;Camera&#8217; in the backend on which the customer redirects on clicking the Demo Product button as shown in the image.<\/p>\n<h4>When admin chooses Type as &#8220;Email&#8221; and Action as &#8216;Email&#8217;-:<\/h4>\n<p>On choosing the &#8220;Type&#8221; as &#8216;Email&#8217; two options for Email will be visible &#8211; Admin and Custom as shown in the image below.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-admin.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154049\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-admin.png\" alt=\"admin\" width=\"800\" height=\"333\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-admin.png 1298w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-admin-250x104.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-admin-300x125.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-admin-768x320.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-admin-1200x499.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>If the Admin option is chosen from the given list, the mail is sent to admin.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-custom-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154060\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-custom-1.png\" alt=\"replace add to cart\" width=\"800\" height=\"334\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-custom-1.png 1286w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-custom-1-250x104.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-custom-1-300x125.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-custom-1-768x321.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-email-custom-1-1200x501.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>On choosing the &#8220;Email&#8221; tab, if the admin chooses the Email type as &#8216;Custom&#8217;, the custom email id is to be given against the &#8216;Email to&#8217;\u00a0tab on which the mail will be sent.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-product.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154068\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-product.png\" alt=\"replace add to cart\" width=\"800\" height=\"613\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-product.png 955w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-product-250x192.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-product-300x230.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-product-768x589.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>In the product page, the customer will choose a product and click on Demo Product button as shown in the image below.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-ask-to-admin.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154070\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-ask-to-admin.png\" alt=\"replace add to cart\" width=\"800\" height=\"371\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-ask-to-admin.png 1217w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-ask-to-admin-250x116.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-ask-to-admin-300x139.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-ask-to-admin-768x357.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-ask-to-admin-1200x557.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>On clicking the Demo Product button, a pop up will appear where the customer will have to fill in the Subject, Mail From details, and add questions under Ask tab.<\/p>\n<h4>When admin chooses Type as &#8220;Phone&#8221; and Action as &#8220;Phone&#8221;-:<\/h4>\n<p>As the admin chooses &#8216;Phone&#8217; against the &#8220;Type&#8221; tab, another tab to enter the Phone will be visible where the admin enters the contact details as shown in the image below.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154078\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone.png\" alt=\"replace add to cart\" width=\"800\" height=\"370\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone.png 1285w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone-250x116.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone-300x139.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone-768x356.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone-1200x556.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>In the frontend, the customer will choose a product and click on the Demo Product button.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154084\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone-1.png\" alt=\"replace add to cart\" width=\"800\" height=\"498\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone-1.png 979w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone-1-250x156.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone-1-300x187.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-phone-1-768x479.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>On clicking the Demo Product button, a pop up will appear displaying the contact details like email and phone number which the admin has set in the backend.<\/p>\n<p>The admin can also choose any type against the &#8220;Type&#8221; tab and any action option against the\u00a0 &#8220;Action&#8221; tab.<\/p>\n<p>For instance, let&#8217;s consider the following scenario:<\/p>\n<h4>When admin chooses Type as &#8220;Text&#8221; and Action as &#8220;Link&#8221;-:<\/h4>\n<p>The admin will choose &#8216;Text&#8217; against the &#8220;Type&#8221; tab and &#8216;Link&#8217; against the &#8220;Action&#8221; button.<a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-link.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154729\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-link.png\" alt=\"replace add to cart\" width=\"800\" height=\"443\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-link.png 1282w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-link-250x138.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-link-300x166.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-link-768x425.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-text-link-1200x665.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/p>\n<p>The customer will have to choose a product from the product page and click on the Demo Product button.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-frontend.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154100\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-frontend.png\" alt=\"replace add to cart\" width=\"800\" height=\"613\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-frontend.png 944w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-frontend-250x191.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-frontend-300x230.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-frontend-768x588.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>As the admin has chosen &#8216;Link&#8217; against the &#8220;Action&#8221; button, on clicking the Demo Product, it redirects the customer to a category, or a page or a link which the admin adds in the admin panel.<\/p>\n<figure><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-link-redirect.png\"><img decoding=\"async\" class=\"aligncenter wp-image-154102\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-link-redirect.png\" alt=\"replace add to cart\" width=\"800\" height=\"636\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-link-redirect.png 954w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-link-redirect-250x199.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-link-redirect-300x238.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-link-redirect-768x610.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/figure>\n<p>That&#8217;s all for <strong><a href=\"https:\/\/store.webkul.com\/opencart-replace-add-to-Cart.html\">Opencart Replace Add to Cart Button module<\/a><\/strong>. If you still have any issues, feel free to add a ticket and let us know your views on our\u00a0<a href=\"https:\/\/webkul.uvdesk.com\/en\/\"><strong>Webkul Support System.<\/strong><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To make the Add to Cart button perform multiple actions on Opencart Replace Add to Cart Button can be an interesting feature for the Opencart store. The Add to Cart button is an important aspect of any online store and therefore adding more functionalities to it can benefit the store owner. Opencart Replace Add to <a href=\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":191,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[305],"tags":[7920,7921,7790],"class_list":["post-153969","post","type-post","status-publish","format-standard","hentry","category-opencart","tag-add-to-cart-button","tag-opencart-replace-add-to-cart","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>Opencart Replace Add to Cart | Cart Button Redirect<\/title>\n<meta name=\"description\" content=\"Opencart Replace Add to Cart Button facilitates the admin to add multiple actions to an Add to Cart button like Text, Email, Link, Phone etc.\" \/>\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\/opencart-replace-add-to-cart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Opencart Replace Add to Cart | Cart Button Redirect\" \/>\n<meta property=\"og:description\" content=\"Opencart Replace Add to Cart Button facilitates the admin to add multiple actions to an Add to Cart button like Text, Email, Link, Phone etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/\" \/>\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-12-21T11:39:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-03T13:43:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png\" \/>\n<meta name=\"author\" content=\"Gunjita Joshi\" \/>\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=\"Gunjita Joshi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/\"},\"author\":{\"name\":\"Gunjita Joshi\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/61b1424f876331154d5bcf845cf526a9\"},\"headline\":\"Opencart Replace Add to Cart Button\",\"datePublished\":\"2018-12-21T11:39:23+00:00\",\"dateModified\":\"2025-03-03T13:43:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/\"},\"wordCount\":1168,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png\",\"keywords\":[\"Add to Cart Button\",\"Opencart Replace Add to Cart\",\"Replace Add To Cart Button\"],\"articleSection\":[\"opencart\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/\",\"url\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/\",\"name\":\"Opencart Replace Add to Cart | Cart Button Redirect\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png\",\"datePublished\":\"2018-12-21T11:39:23+00:00\",\"dateModified\":\"2025-03-03T13:43:15+00:00\",\"description\":\"Opencart Replace Add to Cart Button facilitates the admin to add multiple actions to an Add to Cart button like Text, Email, Link, Phone etc.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png\",\"width\":1132,\"height\":436},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Opencart Replace Add to Cart Button\"}]},{\"@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\/61b1424f876331154d5bcf845cf526a9\",\"name\":\"Gunjita Joshi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cf39a841b8d11b4d355962b0d890bd541fb483594b20f06b193e6732bbb5a76e?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\/cf39a841b8d11b4d355962b0d890bd541fb483594b20f06b193e6732bbb5a76e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Gunjita Joshi\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/gunjita-joshibd370\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Opencart Replace Add to Cart | Cart Button Redirect","description":"Opencart Replace Add to Cart Button facilitates the admin to add multiple actions to an Add to Cart button like Text, Email, Link, Phone etc.","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\/opencart-replace-add-to-cart\/","og_locale":"en_US","og_type":"article","og_title":"Opencart Replace Add to Cart | Cart Button Redirect","og_description":"Opencart Replace Add to Cart Button facilitates the admin to add multiple actions to an Add to Cart button like Text, Email, Link, Phone etc.","og_url":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2018-12-21T11:39:23+00:00","article_modified_time":"2025-03-03T13:43:15+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png","type":"","width":"","height":""}],"author":"Gunjita Joshi","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Gunjita Joshi","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/"},"author":{"name":"Gunjita Joshi","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/61b1424f876331154d5bcf845cf526a9"},"headline":"Opencart Replace Add to Cart Button","datePublished":"2018-12-21T11:39:23+00:00","dateModified":"2025-03-03T13:43:15+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/"},"wordCount":1168,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png","keywords":["Add to Cart Button","Opencart Replace Add to Cart","Replace Add To Cart Button"],"articleSection":["opencart"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/","url":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/","name":"Opencart Replace Add to Cart | Cart Button Redirect","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png","datePublished":"2018-12-21T11:39:23+00:00","dateModified":"2025-03-03T13:43:15+00:00","description":"Opencart Replace Add to Cart Button facilitates the admin to add multiple actions to an Add to Cart button like Text, Email, Link, Phone etc.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/12\/webkul-opencart-replace-add-to-cart-installation.png","width":1132,"height":436},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/opencart-replace-add-to-cart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Opencart Replace Add to Cart Button"}]},{"@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\/61b1424f876331154d5bcf845cf526a9","name":"Gunjita Joshi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cf39a841b8d11b4d355962b0d890bd541fb483594b20f06b193e6732bbb5a76e?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\/cf39a841b8d11b4d355962b0d890bd541fb483594b20f06b193e6732bbb5a76e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Gunjita Joshi"},"url":"https:\/\/webkul.com\/blog\/author\/gunjita-joshibd370\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/153969","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\/191"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=153969"}],"version-history":[{"count":51,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/153969\/revisions"}],"predecessor-version":[{"id":317927,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/153969\/revisions\/317927"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=153969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=153969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=153969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}