How to manage AddThis social sharing buttons in OpenCart

How to manage AddThis social sharing buttons in OpenCart

The icons are added with the help of the world’s largest sharing platform AddThis Toolbox.


Follow these steps:

  1. Go to your hosting server and access the File manager using your cpanel or FTP connection.
  2. Find the product.tpl file located in the “catalog/view/theme/themeXXX/template/product/” directory.
  3. Open the file with any code editor. You can use the default code editor on the cpanel.


  4. Scroll down to the lines 308-315 where the sharing buttons code is located.


    Note: remember that the lines, as well as the code, may slightly differ in different templates.

  5. Here you can change the order of separate items or delete some of them.
  6. In case you want to delete all the buttons from product page, just remove the code form the product.tpl file.
  7. Save the changes in the file and refresh the front page to view them.

To customize your social sharing buttons, follow the steps below:

  1. Go to the official AddThis site and create a new account .
  2. In your Dashboard go to the Tools section and scroll down to Share Tools.
  3. Here you can get the code of some free or not free sets of sharing buttons with different design.
  4. These instructions will help you to create your own AddThis menu.
  5. You can track your visitors on their site with the help of inserting your profile ID to the code.
  6. 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.

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.