{"id":46210,"date":"2015-04-08T02:00:14","date_gmt":"2015-04-08T06:00:14","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=46210"},"modified":"2020-02-06T06:13:00","modified_gmt":"2020-02-06T11:13:00","slug":"opencart-1-5-xopencart-2-x-how-to-manage-addthis-social-sharing-buttons","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/opencart-1-5-xopencart-2-x-how-to-manage-addthis-social-sharing-buttons.html","title":{"rendered":"OpenCart 1.5.x\/OpenCart 2.x. How to manage AddThis social sharing buttons"},"content":{"rendered":"<p>\r\n<p>In this tutorial we will show you how to manage the social sharing buttons in OpenCart.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=SL9txfFB4BY?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 1.5.x\/OpenCart 2.x. How to manage AddThis social sharing buttons<\/a><\/p>\r\n<p>Usually OpenCart templates include a list of social sharing buttons which appear on the product page under the Add to Cart button or &#8220;Write a Review&#8221; section. The icons are added with the help of the world\u2019s largest sharing platform <strong>AddThis Toolbox<\/strong>: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_1-300x165.jpg\" alt=\"opencart_How_to_manage_AddThis_social_sharing_buttons_1\" width=\"300\" height=\"165\" class=\"aligncenter size-medium wp-image-46211\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_1-300x165.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_1-150x82.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_1.jpg 882w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Follow these steps:<\/p>\r\n<ol>\r\n<li>\r\n<p>Go to your hosting server and access the File manager using your cpanel or FTP connection.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Find the <strong> product.tpl<\/strong> file located in the <strong>&#8220;catalog\/view\/theme\/themeXXX\/template\/product\/&#8221;<\/strong> directory.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Open the file with any code editor. You can use the default code editor on the cpanel:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_2-300x117.jpg\" alt=\"opencart_How_to_manage_AddThis_social_sharing_buttons_2\" width=\"300\" height=\"117\" class=\"aligncenter size-medium wp-image-46212\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_2-300x117.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_2-150x58.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_2.jpg 911w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Scroll down to the lines 308-315 where the sharing buttons code is located:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_3-300x67.jpg\" alt=\"opencart_How_to_manage_AddThis_social_sharing_buttons_3\" width=\"300\" height=\"67\" class=\"aligncenter size-medium wp-image-46213\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_3-300x67.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_3-150x33.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_3-1024x230.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_How_to_manage_AddThis_social_sharing_buttons_3.jpg 1257w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p class=\"attention\">Note: remember that the lines, as well as the code, may slightly differ in different templates. <\/p>\r\n<\/li>\r\n<li>\r\n<p>Here you can change the order of separate items or delete some of them.<\/p>\r\n<\/li>\r\n<li>\r\n<p>In case you want to delete all the buttons from product page, just remove the code form the <strong> product.tpl<\/strong> file.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Save the changes in the file and refresh the front page to view them.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>To customize your social sharing buttons, follow the steps below:<\/p>\r\n<ol>\r\n<li>\r\n<p>Go to the <a target=\"_blank\" href=\"http:\/\/www.addthis.com\/\"> official AddThis site<\/a> and  <a target=\"_blank\" href=\"http:\/\/www.addthis.com\/\"> create a new account <\/a>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>In your <strong>Dashboard<\/strong> go to the <strong>Tools<\/strong> section and scroll down to <strong>Share Tools<\/strong>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Here you can get the code of some free or not free sets of sharing buttons with different design.<\/p>\r\n<\/li>\r\n<li>\r\n<p>These instructions will help you to create your own AddThis menu.<\/p>\r\n<\/li>\r\n<li>\r\n<p>You can track your visitors on their site with the help of inserting your profile ID to the code.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Replace the old code of the AddThis social sharing buttons with the one you got from the official site, save the changes and check your update on the site front-end.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Check the following link for more details on <a target=\"_blank\" href=\"http:\/\/support.addthis.com\/customer\/portal\/topics\/38604-customizing-addthis\/articles\"> customizing AddThis buttons<\/a>. <\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>We hope the tutorial was useful for you. Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=SL9txfFB4BY?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 1.5.x\/OpenCart 2.x. How to manage AddThis social sharing buttons<\/a><\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>In this tutorial we will show you how to manage the social sharing buttons in OpenCart.<\/p>\n","protected":false},"author":78,"featured_media":46216,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1156],"tags":[1353,674,1157,860],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46210"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/78"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=46210"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46210\/revisions"}],"predecessor-version":[{"id":86280,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46210\/revisions\/86280"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/46216"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=46210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=46210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=46210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}