Pin-It pinterest button for Veracart products
Have Questions?
Call 877-769-6945

Pin-It pinterest button for Veracart products

If you’re interested in using the Pin It pinterest button, you can use it inside Versart templates.  Adding the button is as simple as inserting 2 snippets of javascript code into either Veracart store templates.

1. Add this code to your page only once, directly above the closing </BODY> tag:

<script src=”//assets.pinterest.com/js/pinit.js” type=”text/javascript”></script>

2. Add this code (in a Veracart template) where you want the Pinterest Button to appear on your site:

<script language=”javascript”>
var myLinkUrl = “[ITEM_URL]“;
var myMediaUrl = “[IMAGE_LG_URL]“;
var myText = “[NAME]“;
var myFinalUrl = ‘<a href=”http://pinterest.com/pin/create/button/?url=’ + encodeURIComponent(myLinkUrl) + ‘&media=’ + encodeURIComponent(myMediaUrl) + ‘&description=’ + encodeURIComponent(myText) + ‘&class=”pin-it-button” count-layout=”horizontal”><img border=”0″ src=”//assets.pinterest.com/images/PinExt.png” title=”Pin It” /></a>’;
document.write(myFinalUrl);
</script>

Note: This requires minimum knowledge of HTML in order to add the code (or customize the code) – Please contact support for help if you have any questions about getting the pinterest button added.

Veracart templates are located here:

LIST ITEM TEMPLATE – Veracart Admin > Settings > Appearance (catalog column) > Item List – Cell Template

DETAIL TEMPLATE – Veracart Admin > Settings > Appearance (catalog column) > Item Detailed View – Custom Template

 

Comments are closed.