(1) goto http://www.addthis.com/ to get the script code. You can customize your share links for facebook and twitter only.
(2) In skins\basic(or your skin template)\customer\blocks\product_templates\default_template.tpl
around line 88 add the generated script code from step 1.
See the example picture
Thank you! I was looking how to put this funnction there for long..!
ReplyDeleteThank you for sharing!
ReplyDeleteJust one question, my URL is now with a final "#.UTbdXjA2Zbo":
mysite.com/myproduct.html#.UTbdXjA2Zbo
Why?
If you don't want / don't need a tracking like this one: "#.UTbdXjA2Zbo" at the end of URL, just unchecked this box at the bottom of the Addthis "get the script code" page:
ReplyDeleteTrack when users share by copying your URL