Post by salle81 » Sun Apr 01, 2012 9:52 pm

Hi. i Just got my eyes on this new swedish startup called helishopter.com it´s an pinterest.com for shopping. They hade just realesed an sharebutton that i try to add to my shop. Im not that good on javascript so i just wonder i someone may be intrested of take an look at it and see if there is any way to integrate an sharebutton for OC

http://helishopter.com/blog/
http://prod-blog.s3.amazonaws.com/hs-sharebutton.js

Newbie

Posts

Joined
Tue Jan 24, 2012 6:05 pm

Post by salle81 » Mon Apr 02, 2012 4:23 pm

Add this on your product description if you wanna try it.

<script type="text/javascript" src="http://prod-blog.s3.amazonaws.com/hs-sh ... "></script>
<script type="text/javascript">
HSshare.init();
</script>

Newbie

Posts

Joined
Tue Jan 24, 2012 6:05 pm

Post by emilisto » Tue Apr 03, 2012 2:24 pm

Hello, this is Emil from the Helishopter team.

We're glad to see our button appearing in the wild!

In addition to the instructions salle81 has already given, you might want to specify the product info manually:

Code: Select all

HSshare.init({
   product: {
      price: { amount: 123, currency: 'SEK' },
      post: 'Product Title',
      url: 'prefered-canonical-url-for-example',
      image: 'http://example.com/img/product-1.jpg'
   }
});
Although our "Fetcher" tries to identify it automagically from the page, and does a pretty good job most of the time.

Also, we recommend you download hs-sharebutton.js to your own server, as this avoids down time in case the share button (or the Amazon S3 bucket) fails. The purpose of the hs-sharebutton.js script is to be lightweight and simply load the real script, or silently fail if it can't do so.

We're all ears for suggestions and questions regarding the sharebutton. Either here on the forum or by mailing us at support@helishopter.com. One problem we've assisted numerous implementers with already is how to keep track of a dynamically changing product image (i.e. clicking one of many thumbnails), so let us know if you need help with this.

Cheers
Emil

Newbie

Posts

Joined
Mon Apr 02, 2012 2:00 pm
Who is online

Users browsing this forum: No registered users and 1 guest