<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Facebook LIKE button</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Facebook LIKE button]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 10:38:04 +0000</pubDate>
  <lastBuildDate>Sat, 04 Dec 2010 02:44:37 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=3651</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Facebook LIKE button : FYI: We recently added an article...]]></title>
   <link>https://forum.productcart.com/facebook-like-button_topic3651_post16338.html#16338</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1">ProductCart</a><br /><strong>Subject:</strong> 3651<br /><strong>Posted:</strong> 04-December-2010 at 2:44am<br /><br />FYI: We recently added an article to the ProductCart WIKI on how to add a Facebook LIKE button<br><br><a href="http://wiki.earlyimpact.com/how_to/add_facebook_like_butt&#111;n_ecommerce_store%20" target="_blank">http://wiki.earlyimpact.com/how_to/add_facebook_like_button_ecommerce_store </a><br>]]>
   </description>
   <pubDate>Sat, 04 Dec 2010 02:44:37 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/facebook-like-button_topic3651_post16338.html#16338</guid>
  </item> 
  <item>
   <title><![CDATA[Facebook LIKE button : For SEO enabled site I had to...]]></title>
   <link>https://forum.productcart.com/facebook-like-button_topic3651_post15966.html#15966</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2066">Vincent</a><br /><strong>Subject:</strong> 3651<br /><strong>Posted:</strong> 23-October-2010 at 7:26pm<br /><br />For SEO enabled site I had to use a quick fix using the Replace function.<br />Based on Sean@WMS code example, thank you Sean.<br /><br />With the SEO enabled on the site the original link was like the one shown below which created an error 404 while using the facebook link back to the site:<br /><br />Example:<br /><font face="Courier New, Courier, mono">http://www.yoursite.com/productcart/pc/404.asp?404;http://www.yoursite.com/productcart/pc/Blue-Pinpoint-3p3.htm</font><br /><br />I realized then the pattern with the recurring first half of the URL which created the error. I then just decided to use a replace function to get rid of it as it is always the same string.<br /><strong>replace(strLikeURL,"http://www.yoursite.com/productcart/pc/404.asp?404;","")</strong><br /><br />Here is the final version I implemented on one of my ProductCart Site using SEO (in ViewProdC.asp). Sean Thanks again.<br /><br /> &lt;%<br />Dim strLikeURL<br />If Request.ServerVariables("HTTPS") = "ON" Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strLikeURL = "https://"<br />Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strLikeURL = "http://"<br />End If<br />strLikeURL = strLikeURL & Request.ServerVariables("SERVER_NAME")<br />strLikeURL = strLikeURL & Request.ServerVariables("SCRIPT_NAME")<br />If Len(Request.ServerVariables("QUERY_STRING") & "") &gt; 0 Then strLikeURL = strLikeURL & "?" & Server.HTMLEncode(Request.ServerVariables("QUERY_STRING")) end if<br />strLikeURL = replace(strLikeURL,"http://www.yoursite.com/productcart/pc/404.asp?404;","")<br /> %&gt;<br />&lt;script src="http://connect.facebook.net/en_US/all.js#xfbml=1"&gt;&lt;/script&gt;&lt;fb:like href="&lt;%=strLikeURL%&gt;" layout="button_count"&gt;&lt;/fb:like&gt;<br /><br /><br />At the end I find myself with the appropriate URL, based on the example above, it will then return<br />http://www.yoursite.com/productcart/pc/Blue-Pinpoint-3p3.htm<br /><br />Note that it is very important to use the SERVER.HTMLEncode()function while using the request object to obtain querystring values:<br />Server.HTMLEncode(Request.ServerVariables("QUERY_STRING"))<br /><br />If not, you will then open your site to XSS vulnerabilities which will also affect the PCI Compliance of productcart.<br /><br /><br />Maybe not the best coding practice but it worked for me.<span style="font-size:10px"><br /><br />Edited by Vincent - 10-November-2010 at 1:38am</span>]]>
   </description>
   <pubDate>Sat, 23 Oct 2010 19:26:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/facebook-like-button_topic3651_post15966.html#15966</guid>
  </item> 
  <item>
   <title><![CDATA[Facebook LIKE button : Try this (it has worked for us...]]></title>
   <link>https://forum.productcart.com/facebook-like-button_topic3651_post15587.html#15587</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1812">RedLeafDev</a><br /><strong>Subject:</strong> 3651<br /><strong>Posted:</strong> 16-September-2010 at 10:30am<br /><br />Try this (it has worked for us on numerous sites):<DIV>&nbsp;</DIV><DIV>1) Go here to get the code for the button: <a href="http://developers.facebook.com/docs/reference/plugins/like" target="_blank">http://developers.facebook.com/docs/reference/plugins/like</A></DIV><DIV>&nbsp;</DIV><DIV>2) Paste the code into the viewPrdC (or L or O) page. </DIV><DIV>&nbsp;</DIV><DIV>3) Make a simple modification to the code where it starts like.php?href=...</DIV><DIV>&nbsp;</DIV><DIV>Place as the URL the site followed by the product as such: <a href="http://%5bsite%20url%5d/productcart/pc/viewPrd.asp?idproduct=%3c%=pIdProduct%" target="_blank">http://&#091;site url&#093;/productcart/pc/viewPrd.asp?idproduct=&lt;%=pIdProduct%</A>&gt;</DIV><DIV>&nbsp;</DIV><DIV>And test...</DIV><DIV>&nbsp;</DIV><DIV>Amy</DIV>]]>
   </description>
   <pubDate>Thu, 16 Sep 2010 10:30:42 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/facebook-like-button_topic3651_post15587.html#15587</guid>
  </item> 
  <item>
   <title><![CDATA[Facebook LIKE button : here is a marketing idea that...]]></title>
   <link>https://forum.productcart.com/facebook-like-button_topic3651_post14941.html#14941</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1542">joshs</a><br /><strong>Subject:</strong> 3651<br /><strong>Posted:</strong> 14-July-2010 at 12:57pm<br /><br />here is a marketing idea that needs some sort of confirmation app. <br /><br />Give discounts based on friend count. For example 1000 friends - %10 off with a wall post.  "TrekLightGear.com just hooked me up with this x product!" Picture attached.<br /><br />The app would allow the moderator to set discounts or give coupons based on friend network size.  More friends equals more exposure equals more "word of mouth" advertising.]]>
   </description>
   <pubDate>Wed, 14 Jul 2010 12:57:23 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/facebook-like-button_topic3651_post14941.html#14941</guid>
  </item> 
  <item>
   <title><![CDATA[Facebook LIKE button : Sean - Curious to hear what you...]]></title>
   <link>https://forum.productcart.com/facebook-like-button_topic3651_post14926.html#14926</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 3651<br /><strong>Posted:</strong> 12-July-2010 at 12:52pm<br /><br />Sean - Curious to hear what you find out.  I really hope there's a way to get it to work with the SEO product pages, it works great for everything else but obviously the product pages are the ones we want people to Like!!]]>
   </description>
   <pubDate>Mon, 12 Jul 2010 12:52:46 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/facebook-like-button_topic3651_post14926.html#14926</guid>
  </item> 
  <item>
   <title><![CDATA[Facebook LIKE button : Hi Seth,  I did some testing on...]]></title>
   <link>https://forum.productcart.com/facebook-like-button_topic3651_post14882.html#14882</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 3651<br /><strong>Posted:</strong> 09-July-2010 at 3:00am<br /><br />Hi Seth,<br /><br />I did some testing on this earlier today and got some odd results I haven't been able to correlate yet.<br /><br />I'm going to need to do another run threw tomorrow as I just got too busy today. I think I've an idea of what the issue is here, but not sure how to solve it yet. ]]>
   </description>
   <pubDate>Fri, 09 Jul 2010 03:00:05 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/facebook-like-button_topic3651_post14882.html#14882</guid>
  </item> 
  <item>
   <title><![CDATA[Facebook LIKE button : For those of you still working...]]></title>
   <link>https://forum.productcart.com/facebook-like-button_topic3651_post14881.html#14881</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 3651<br /><strong>Posted:</strong> 08-July-2010 at 8:04pm<br /><br />For those of you still working to integrate the Facebook Like button I found this page which resolved the issue of it not displaying in IE: http://digitizor.com/2010/07/06/fix-facebook-like-button-not-showing-ie/<br /><br />I've got the Like button successfully added to my page (www.TrekLightGear.com), it's showing in the header up top and is working perfectly on all pages (passing the proper URL, meta data, etc.) with the exception of the product pages which are handled by the SEO feature.  It tries to pass the URL as "http://www.treklightgear.com/catalog/pc/404.asp?404;http://www.treklightgear.com/catalog/pc/Double-Hammock-5p2.htm" which is returning an error from Facebook that the page cannot be found.  <br /><br />The problem seems to be that extra 404 that's inserted into the link - any idea how to fix this?]]>
   </description>
   <pubDate>Thu, 08 Jul 2010 20:04:12 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/facebook-like-button_topic3651_post14881.html#14881</guid>
  </item> 
  <item>
   <title><![CDATA[Facebook LIKE button : Ok, apparently this doesn&amp;#039;t...]]></title>
   <link>https://forum.productcart.com/facebook-like-button_topic3651_post14160.html#14160</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 3651<br /><strong>Posted:</strong> 28-April-2010 at 12:57am<br /><br />Ok, apparently this doesn't play nice with IE (will someone please write a virus to eradicate IE from the Internet!?)<br /><br />The JavaScript on this is not my code. I'll leave it to someone else to figure out why the JS from http://cashdoodle.com/2010/04/24/promote-your-art-design-with-facebooks-like-button/ here doesn't work in IE.]]>
   </description>
   <pubDate>Wed, 28 Apr 2010 00:57:33 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/facebook-like-button_topic3651_post14160.html#14160</guid>
  </item> 
  <item>
   <title><![CDATA[Facebook LIKE button : Here&amp;#039;s a development location...]]></title>
   <link>https://forum.productcart.com/facebook-like-button_topic3651_post14157.html#14157</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 3651<br /><strong>Posted:</strong> 27-April-2010 at 3:31pm<br /><br />Here's a development location I've set this up on -- this might not be here for long, though, as this location always has something going on:<br />http://pc4.wmsmerchantservices.com/productcart/pc/home.asp<br /><br />&#091;Edit&#093;It's already gone while we work on other issues.<span style="font-size:10px"><br /><br />Edited by Sean@WMS - 28-April-2010 at 1:31am</span>]]>
   </description>
   <pubDate>Tue, 27 Apr 2010 15:31:38 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/facebook-like-button_topic3651_post14157.html#14157</guid>
  </item> 
  <item>
   <title><![CDATA[Facebook LIKE button : Thanks Sean :)  If any PC owners...]]></title>
   <link>https://forum.productcart.com/facebook-like-button_topic3651_post14155.html#14155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1100">CoffeeShop</a><br /><strong>Subject:</strong> 3651<br /><strong>Posted:</strong> 27-April-2010 at 3:05pm<br /><br />Thanks Sean :)<br /><br />If any PC owners out there started to incorporate this on their websites please post it here so I/we can take a look. To be honest, I don't really want to touch anything on my website until someone else do it on theirs first hehe (sorry I'm not exactly a tech guy, but do understand some basic PC customization).<br /><br />John]]>
   </description>
   <pubDate>Tue, 27 Apr 2010 15:05:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/facebook-like-button_topic3651_post14155.html#14155</guid>
  </item> 
 </channel>
</rss>