Pinterest Pinboards for E-commerce

The latest social sharing addition for Curiouser and Curiouser in Edinburgh is the Pinterest “Pin It” feature. This lets visitors pin images of products or items of interest to their Pinterest account and share by way of an online pinboard with those who share the same interests.

Integration is fairly straightforward, although with dynamically generated urls for individual product pages in the Prestashop installation, the code seemed to work fine when tweaked as follows:

<a href="&quot;http://pinterest.com/pin/create/button/?url={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}&media={$link-">getImageLink($product->link_rewrite, $cover.id_image, 'large')}&description={$image.legend|htmlspecialchars}" class="pin-it-button" count-layout="horizontal">Pin It</a>

This takes the current product page as “url”, the main image for the product, and in this case the image title for the “description” and passes it to Pinterest. You can link Pinterest with Facebook and Twitter.

Pinterest this NUD Marble 100mm Light Bulb product page from Curiouser and Curiouser

Leave a Reply

Your email address will not be published. Required fields are marked *