This tutorial is going to show you how to manage social-media sharing icons on the product details pages of your Magento template.
The social-media sharing icons are added to the templates with the help of the world’s largest sharing platform AddThis Toolbox.
In order to manage the icons on your product pages:
- Connect to your FTP via your favourite FTP client or using the File manager of your hoting control panel.
- Open the directory where your maganto files are stored (public_html, www etc).
- Go to app\design\frontend\default\theme###\template\ajax\catalog\product folder where theme### is the name of your particular theme folder.
- Open a file called view.phtml in any code editor.
- Find the following code between lines 63-71:
<
div
class
=
"share bordercolor"
>
<!-- AddThis Button BEGIN -->
<
div
class
=
"addthis_toolbox addthis_default_style "
>
<
a
class
=
"addthis_button_facebook_like"
fb:like:layout
=
"button_count"
></
a
>
<
a
class
=
"addthis_button_tweet"
></
a
>
<
a
class
=
"addthis_button_google_plusone"
g:plusone:size
=
"medium"
></
a
>
<
a
class
=
"addthis_counter addthis_pill_style"
></
a
>
</
div
>
<
script
type
=
"text/javascript"
src
=
"http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f419f410efe76d3"
></
script
>
</
div
>