You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
If anybody wants to use the Pinterest pinit button on their site, the following code will work for adding a dynamic button to the product detail pages. Go to Store - Store Displays - Product Detail Displays and choose the display you are currently using. I myself put this right below the email a friend link. So in that case, the code would be put after:
print 'class="hrefbutton">Tell A Friend!</a></p>';
print '<p><a href="http://pinterest.com/pin/create/button/?url='; echo 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; print '&media='; echo 'http://enteryourbaseurlhere/' . $imgurl; print '&description='; print $prodname; print '" class="pin-it-button" count-layout="horizontal"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a></p>';
You also need to put the following in your main template before the closing </body> tag.
<script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script>
Offline
Update for CCP8: https://forum.kryptronic.com/viewtopic.php?id=30365
Offline