Jump to content



Latest News: (loading..)

- - - - -

Facebook like button- Help


  • Please log in to reply
2 replies to this topic

#1   al3ks

al3ks
  • Members
  • 288 posts
  • Real Name:Aleksander
  • Gender:Male
  • Location:UK

Posted 11 July 2012 - 12:26 AM

I want to implement a facebook like button to my product info pages, I got the code from facebook developers page but it allows to enter a specific url to like. e.g http://www.mysite.com/

How can I make it work to like the individual products?

I have this code:

<div class="fb-like" data-href="http://www.mysite.com/" data-send="false" data-width="174" data-show-faces="false"></div>

Regards
Aleksander
Find this post helpful? Click the 'Like this' button. :)

#2   al3ks

al3ks
  • Members
  • 288 posts
  • Real Name:Aleksander
  • Gender:Male
  • Location:UK

Posted 11 July 2012 - 12:38 AM

Got it, imported it from the social bookmarks module.
Find this post helpful? Click the 'Like this' button. :)

#3   14steve14

14steve14

    STORE OWNER NOT CODER

  • Members
  • 3,081 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Dorset UK

Posted 11 July 2012 - 07:54 AM

Dont forget to add the cookie details of the facebook like button to your privacy policy to conform with the new EU cookie legislation.
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder, so dont bother sending PMs asking for help as you wont get any.  

OSC has a steep learning curve, but in general the program does work.  If it doesnt work, the chances are it is something you have done.