Pinterest 'Pin It' Buttons - Product Specific

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
stephenw
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Wed Mar 21, 2012 4:05 pm

Pinterest 'Pin It' Buttons - Product Specific

Post by stephenw » Mon Mar 26, 2012 2:09 pm

I'd like to add this Pinterest button - http://pinterest.com/about/goodies/ to product pages within BuyProductDialog.ascx.

The button is there, no prob with that.

The thing is, if you don't put in a specific url to be pinned, AND an image url, so an image shows in the pin, then nothing gets pinned when you press the 'Pin It' button. It simply sends you to Pinterest.com, and no real pin occurs.

I could manually customize a Pin It button for each individual product, which would work fine (this would take days), but there's gotta be a better way.

Is there any way I can just paste this snippet of code here (http://pinterest.com/about/goodies) one time, to show on every product page, and have this button know to automatically pull the image and the url specific for the product page that it is on?

Facebook buttons automatically know to customize to the page it's on already as default. Pinterest just doesn't yet...

Thanks guys!

User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Re: Pinterest 'Pin It' Buttons - Product Specific

Post by david-ebt » Mon Mar 26, 2012 6:55 pm

Have you taken a look at the Social Media Product and Sidebar Links blog entry from AbleCommerce (http://blog.ablecommerce.com/)?

I've not used this, but it does have Pinterest as well as Facebook, Google+ and Twitter.

Even if you don't use the control, it has code to show you how to get the page and image url.
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

stephenw
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Wed Mar 21, 2012 4:05 pm

Re: Pinterest 'Pin It' Buttons - Product Specific

Post by stephenw » Tue Mar 27, 2012 7:46 am

Alright, good deal! I've given the post a glance already, but I should've downloaded the .zip file to give it a real look, because yep, the code is there within the files all right.

Here's the post mentioned - http://blog.ablecommerce.com/social-med ... ebar-links

Thanks again!

Post Reply