I bet you’re familiar with Pinterest, it’s really hot these days. Pinterest is one of the fastest growing and addictive social channels on the internet right now. If you run a web store, you might have wanted to put Pinterest buttons on products pages to get more traffic to your site. Here’s a quick tutorial that will show you how to add a “Pin it” button right to a product image, so that visitors can easily share your picture on their Pinterest.
First of all, you need to find media.phtml file. You can find it in this directory:
“your_theme” is the name of the theme that you are using.
We’ll put the “Pin it” button in this place:
After finding out the media.phtml file, you can open it and find the following piece of code:
After completing all the steps above, you will see the Pin It button appearing in your product page. When shoppes click on “Pin it” button, a Pinterest dialog box will be opened for them to share the image to their Pinterest Board.
As always, drop your comments below if you have any questions.
Just one more thing: Have you known Magestore’s Pinterest? Don’t forget to follow us if you have any interest.