Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    585
    Plugin Contributions
    0

    Default Facebook Like Link

    I have been reading on how to add a link to facebook of products and have gotten confused.
    Website :
    stitchnframeonline.com
    The facebook LINK in the header is working great but I am going to add the Facebook LIKE in the product pages.

    Found this tutorial which was quite straight forward and the Like button is there but it does not appear to do anything? Suggestions PLEASE??

    I wrote a tutorial about this:

    How to Add a Facebook Like Button to Your Zen Cart Product Pages

    Thanks,

    Anne

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,312
    Plugin Contributions
    3

  3. #3
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    585
    Plugin Contributions
    0

    Default Re: Facebook Like Link

    This:


    http://www.picaflor-azul.com/blog/?p=914/

    Add a Facebook Like Button to Your Product Pages

    If you are not already aggressively marketing your business on Facebook you should be. According to Digitaltrends.com Facebook has over 25% of internet traffic in the U.S. and is the most downloaded app of all time. In this tutorial, I will show you step by step how to install a Facebook like button into your zen cart product pages so. For demo purposes I will be adding the button to my Andover Modern free zen cart template which you can download here.

    1. In your favorite plain text editor open includes/templates/your-custom-template-directory/templates/tpl_product_info_display.php. If the file is not there, create an override for it by copying includes/templates/template_default/templates/tpl_product_info_display.php to includes/templates/your-custom-template-directory/templates/tpl_product_info_display.php.

    2. Find the place in the file where you want the button to show and add this code:


    <iframe src="https://www.facebook.com/plugins/like.php?href=<?php echo urlencode(zen_href_link(zen_get_info_page((int)$_GET['products_id']),'cPath='.$_GET['cPath'].'&products_id=' . (int)$_GET['products_id'])); ?>&layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:40px"></iframe>

    I think that the best place to put it is under the product title. If you want to add your Facebook Like button under the product title, add the like button code directly after this:


    <!--bof Product Name-->
    <h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
    <!--eof Product Name-->

 

 

Similar Threads

  1. v139h Facebook like addon weird appearance on facebook activity
    By navido in forum General Questions
    Replies: 0
    Last Post: 7 Sep 2014, 06:34 PM
  2. v151 facebook like button
    By ken1 in forum General Questions
    Replies: 0
    Last Post: 14 May 2014, 07:03 PM
  3. v151 facebook scraper/google linter can't find my urls with Numinix Facebook Like
    By flernebunu in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 20 Mar 2013, 11:25 AM
  4. Facebook like
    By SethF in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 1 Oct 2011, 09:10 PM
  5. Facebook Like?
    By JSY SH466Y in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Apr 2011, 02:12 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