magento 1.9 Social Product share Addthis website

cpujjwal

Member
XNullUser
Joined
Feb 3, 2022
Messages
31
Reaction score
3
Points
8
NullCash
8
. First thing you do to add the AddThis tools to your Magento site is to open your theme’s 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, such as the product/view.phtml page.

2. 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.

3. Press Save, and you’re done!
 

zyhivan

Member
XNullUser
Joined
Aug 6, 2021
Messages
571
Reaction score
0
Points
16
NullCash
2,521
Wow. I'll try it! Thank you so much! Thank you so much!
 
Top