Post by smashtransit » Sun Jun 29, 2014 5:03 pm

Hey all! Just wondering if anyone's ever explored doing a "pin it" on-hover extension. A colleague asked about it, but I'm not finding anything other than the traditional Pinterest share buttons.

I guess they just call it an "on hover pin it button."

Reference & info: https://developers.pinterest.com/on_hov ... t_buttons/

I'm not inclined to customize our site for this unless it's straightforward, but it'd be a nice vqmod extension if there's nothing available.

Any insight is appreciated. Thanks!

New member

Posts

Joined
Wed Apr 04, 2012 9:14 pm

Post by labeshops » Sun Jun 29, 2014 7:45 pm

Just need to add 1 line to your footer.tpl template just before the closing body and html tags:

Code: Select all

<script type="text/javascript" async data-pin-hover="true" src="//assets.pinterest.com/js/pinit.js"></script>	
The pin it button will display on every image on your store this way. I use it on mine.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by Cue4cheap » Mon Jun 30, 2014 12:06 am

Labeshops,

Could you expound? What extension are you using to integrate pinterest onto your store?
Thanks,
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by labeshops » Mon Jun 30, 2014 12:23 am

Just put that single line in your footer. It gives every image a "pin" it button when you hover over it. No extension. Just that line.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by Cue4cheap » Mon Jun 30, 2014 12:41 am

Well that was easy!!!
Thanks!

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by labeshops » Mon Jun 30, 2014 2:40 am

Lol no problem :)

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by smashtransit » Mon Jun 30, 2014 4:13 pm

Thanks so much for that, easy-peasy and works like a charm.

New member

Posts

Joined
Wed Apr 04, 2012 9:14 pm

Post by irinah » Tue Jul 01, 2014 1:58 am

That was brilliant! Thank you!!!!

Newbie

Posts

Joined
Mon Jun 09, 2014 10:42 pm

Post by sphcrts » Wed Jul 23, 2014 8:55 pm

I need to do this too, where do I find the code/footer? Please help!

Newbie

Posts

Joined
Wed Jul 23, 2014 8:48 pm

Post by sphcrts » Thu Jul 24, 2014 12:30 am

I need to do this for someone, how do I access the footer file??

Newbie

Posts

Joined
Wed Jul 23, 2014 8:48 pm

Post by labeshops » Sat Jul 26, 2014 8:36 pm

Use a ftp program and edit your template/common/footer.tpl

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA
Who is online

Users browsing this forum: No registered users and 23 guests