AddThis Academy

An ever-growing library of resources to help you become a better online marketer.

How to Install the AddThis Tools to Magento

Check out the tutorial below for our video walkthrough:


1. First thing you do to add the AddThis tools to your Magento site is to open your themes.page.XML file  and look for the section that says “before_body_end”, this is where you will paste the following code:

<![CDATA[
  <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=[YOUR PUB ID]" async="async"></script>
]]>

2. Go into your Magento admin , check “layouts” make sure “refresh” is chosen and click “submit”

3. Refresh your Magento page and you should see the share buttons appear

To add the code to a specific product page, follow these steps:

1. Go back to your Magento theme directory and open the code for the exact product page.

2. Click on that product page and you should see the tools

3. Press “Enter Code” and drop the copied code into the paste it here section. Next, you should see the buttons show up in the editor.

4. Press Save, and you’re done!

How to Install the AddThis Tools to Magento
5 (100%) 1 vote

Was this article helpful to you?