Page 1 of 1

pinterest buttons

PostPosted: Thu Apr 05, 2012 7:26 am
by Dan
Is there a way to use product tags to create Pinterest button links? I tried using [PRODUCT.Field1], [PRODUCT.MoreInfoURL] and [PRODUCT.Name] in the Pinterest button generator (http://pinterest.com/about/goodies/) and it spit out the following:

<a href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fwww.redbarnmercantile.com%2Fmedia%2Fproducts%2Fss_size1%2F%5B--%20PRODUCT.Field1%20--%5D%22&media=http%3A%2F%2Fwww.redbarnmercantile.com%2F%5B--%20PRODUCT.MoreInfoURL%20--%5D&description=%5B--%20PRODUCT.Name%20--%5D" class="pin-it-button" count-layout="horizontal"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>

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

The issue with Pinterest is that you have to supply an image file, a link and an optional description for each product.

I placed the code above in my custom template and published a more info page to try it out. The Pinterest popup worked, but the image was broken and the description window showed the [PRODUCT.Name] tag instead of the actual product name.

Any suggestions?

Re: pinterest buttons

PostPosted: Thu Apr 05, 2012 8:09 am
by insignia
I haven't tried this yet, but I use lexiconn and they have a solution here for pinterest. Maybe it'll help you out.

http://www.lexiconn.com/blog/2012/03/marketing-your-shopsite-store-with-pinterest/

Re: pinterest buttons

PostPosted: Thu Apr 05, 2012 12:05 pm
by Jim
Since the code you included in your post contains sections like this %5B--%20PRODUCT.Name%20--%5D" it looks like the template is not processing the ShopSite template tag.

If the code is in an include file instead of the main product template, you need to specify the process option when you use the include statement. So use this [-- INCLUDE filename process --] instead of [-- INCLUDE filename --]

Re: pinterest buttons

PostPosted: Thu Apr 05, 2012 12:39 pm
by Dan
Thank you all. And thank you Lexiconn!

Re: pinterest buttons

PostPosted: Tue May 15, 2012 9:34 am
by loren_d_c
FYI, see http://support.shopsite.com/forums/viewtopic.php?f=2&t=9210&p=24500&hilit=pinterest#p24500 about the built-in pinterest button option in the latest version of ShopSite.

-Loren