Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: How to Add Facebook 'like' button to every product page

  1. #21
    Join Date
    Jun 2011
    Location
    Daytona Beach, FL
    Posts
    46

    Thumbs up Took a little tweaking...

    but it worked like a champ! Thanks for the code.

  2. #22
    Join Date
    Apr 2006
    Location
    Phoenix AZ
    Posts
    81

    Default

    the manual recommends against using ProductLink - the easier way to get it is:

    Code:
    <xsl:param name="pLink" select="concat(/root/System/StoreUrl, /root/System/PageName)" />

  3. #23

    Default

    Quote Originally Posted by don.irwin View Post
    the manual recommends against using ProductLink - the easier way to get it is:

    Code:
    <xsl:param name="pLink" select="concat(/root/System/StoreUrl, /root/System/PageName)" />
    This doesn't work for me. I end up with a URL like this:

    "https://www.mydomain.com/showproduct.aspx"

    Any idea why I am not getting the actual product page here?

  4. #24
    Join Date
    Apr 2006
    Location
    Phoenix AZ
    Posts
    81

    Default

    sorry - I'm using URL rewriting with showproduct.aspx being rewritten with the following rule:

    Code:
    <add name="Product" url="p-{ProductID}-{SEName}" virtualPath="~/showproduct.aspx" checkPhysicalUrlAccess="false" />
    so /root/System/PageName = "p-12-some-product"

    If you aren't using url rewriting, you'll have to use one of the previously mentioned methods for getting the URL - to see what is being returned, set debug="true" in the XML package and review the XML data returned (should be 2nd textbox.).

  5. #25
    Join Date
    Sep 2011
    Posts
    1

    Default What is the appId: 'your app id'

    What do I need for the appId: 'your app id'

  6. #26
    Join Date
    Nov 2010
    Location
    Waltham
    Posts
    6

    Default

    I found a blog where this topic [facebook like button integration] nicely explained. For more information you can visit, http://developers.facebook.com/docs/.../plugins/like/

  7. #27
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    873

    Default

    You found a blog?

    That blog just happens to be on a domain that matches your username?

    Smells like spam to me...


    TTFN

    BFG

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •