Page 2 of 12 FirstFirst 1234 ... LastLast
Results 11 to 20 of 115
  1. #11
    Join Date
    Jun 2006
    Posts
    778
    Plugin Contributions
    0

    Default Re: Facebook "Like" button on every product page?

    Could someone post a ink to an example on your site so we can see what it looks like?

  2. #12
    Join Date
    Nov 2009
    Location
    Aurora, IN
    Posts
    37
    Plugin Contributions
    0

    Default Re: Facebook "Like" button on every product page?

    It puts the Like button there fine, and says that I "Like" it when I click it, but then it gives me an error message, and when I click on it, it says, "The page at http://mysite.com/index.php?main_page=product_info could not be reached."

    Any ideas how to fix that?


    Quote Originally Posted by niccol View Post
    On a product_info page that code will produce this in the html:

    Code:
    http://domain.com/index.php?main_page=product_info&cPath= 65 &products_id=181
    Or whatever the details are. It will produce that wherever you put it as long as it is not already in <?php ?> tags in which case you'd need to remove the ones in my code.

    So you could just put that code somewhere at the top of the page and you will see what it is outputing.

    What you actually want to do is this:

    Code:
    <iframe src="http://www.facebook.com/widgets/like.php?href=<?php echo zen_href_link(zen_get_info_page((int)$_GET['products_id']),'cPath= '.(int)$_GET['cPath'].' &products_id=' . (int)$_GET['products_id']); ?>"
            scrolling="no" frameborder="0"
            style="border:none; width:450px; height:80px"></iframe>
    But looking at it again I am not sure that the whole plan is going to work in that I am not sure the system will deal with the dynamic URL anyway. What that means is that I am not sure how the system will deal with the bit after the question mark. It might or it might not.

  3. #13
    Join Date
    Jun 2006
    Posts
    778
    Plugin Contributions
    0

    Default Re: Facebook "Like" button on every product page?

    SO, got it working. Now, has anyone figured exactly WHERE to place the code so the top of the product page doesn't look "funky"? See the big white block on below product page..

    http://www.cvtreasures.com/authentic...cquired-p-1169
    Last edited by kevinmc3; 1 May 2010 at 11:41 PM.

  4. #14
    Join Date
    Jun 2006
    Posts
    778
    Plugin Contributions
    0

    Default Re: Facebook "Like" button on every product page?

    UPDATE:
    NOTE: I think the placement is OK, but it is making a big white box on every product page (see below). How can I get rid of the White Box ? i.e. a transparent background for the "Like It" button?

    http://www.cvtreasures.com/vintage-m...s-1-sht-p-1791

    P.S. This is an AWESOME feature to add to our Zen Carts!!

  5. #15
    Join Date
    May 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Facebook "Like" button on every product page?

    This is really nice...

    Can anyone help me with the error I am getting:

    The page at http://webcodemasters.com/_zencart/i...e=product_info could not be reached.

    Actual live project: http://webcodemasters.com/_zencart/i...roducts_id=181

  6. #16
    Join Date
    May 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Facebook "Like" button on every product page?

    It puts the Like button there fine, and says that I "Like" it when I click it, but then it gives me an error message, and when I click on it, it says, "The page at http://mysite.com/index.php?main_page=product_info could not be reached."

    Any ideas how to fix that?
    Last edited by myzcpt; 2 May 2010 at 02:48 PM.

  7. #17
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Facebook "Like" button on every product page?

    @kevinmc3
    Which browser are you using - looks fine in firefox.

  8. #18
    Join Date
    Jun 2006
    Posts
    778
    Plugin Contributions
    0

    Default Re: Facebook "Like" button on every product page?

    Quote Originally Posted by niccol View Post
    @kevinmc3
    Which browser are you using - looks fine in firefox.
    Using IE 8

  9. #19
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Facebook "Like" button on every product page?

    this is what it looks like in firefox - is this different or are you expecting something else....
    Attached Images Attached Images  

  10. #20
    Join Date
    Jun 2006
    Posts
    778
    Plugin Contributions
    0

    Default Re: Facebook "Like" button on every product page?

    Quote Originally Posted by niccol View Post
    this is what it looks like in firefox - is this different or are you expecting something else....
    Yes, looks cleaner in FF. It doesn't have a white box around the Like It button like in IE8.

    Another question. If there anyway to get the Like It posts to include an Image of the product? Like when we post on our Facebook "WALL" or "NOTES" , it pulls the image from the URL. Would be great if could get the Like IT code to ALSO pull the Image.

 

 
Page 2 of 12 FirstFirst 1234 ... LastLast

Similar Threads

  1. Facebook "Like/Share" Plugin - Using OG info for each product?
    By rubiconpeak in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 14 Oct 2012, 12:08 AM
  2. Facebook "Like" Button on each product page - where to add FB details?
    By Yaro in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 6 Jun 2012, 11:26 AM
  3. Facebook "Like" button
    By wilson_li in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Jul 2011, 08:29 PM
  4. Facebook "LIKE" button.
    By Tantirx in forum General Questions
    Replies: 7
    Last Post: 28 Apr 2011, 05:42 AM
  5. Replies: 26
    Last Post: 19 Feb 2010, 02:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR