ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Facebook LIKE button
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Facebook LIKE button

 Post Reply Post Reply Page  12>
Author
Message
CoffeeShop View Drop Down
Newbie
Newbie


Joined: 02-April-2008
Location: Philippines
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote CoffeeShop Quote  Post ReplyReply Direct Link To This Post Topic: Facebook LIKE button
    Posted: 26-April-2010 at 2:48pm
I'm sure a walk-through will come out soon but for now, how can we add this to the:

- ProductCart Home Page
- every single product item description page?

Thanks!

John
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 26-April-2010 at 2:54pm
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 26-April-2010 at 9:14pm
Hi John,

If you are referring to FB's new Like option on other site networks, I don't really see that as an option at this point. It's not an app, it's not like AddThis -- sharing to your FB profile. It's an option that is build into these other networks and communicates back to FB through an arrangement with them. That's what I understand at this point anyways.

Pretty soon we're going to be adding FB apps for PC, and maybe at that point we'll look into what options may come along for this sort of thing (or maybe AddThis will come up with an option?).

There is no such option, though, right now to the best of my knowledge. However, if you know something I haven't stumbled upon yet, by all means, enlighten us.
Back to Top
CoffeeShop View Drop Down
Newbie
Newbie


Joined: 02-April-2008
Location: Philippines
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote CoffeeShop Quote  Post ReplyReply Direct Link To This Post Posted: 27-April-2010 at 1:03pm
can you guys take a look at this?

http://cashdoodle.com/2010/04/24/promote-your-art-design-with-facebooks-like-button/

There are also WordPress plug-ins that started taking advantage of the Facebook "Like" button. Please let me know what you think if above is feasible on PC. Thanks!
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 27-April-2010 at 3:01pm
Ok, I was completely wrong

Here's what you can do:

Add this within your head tags:

<div id="fb-root"></div>
<script>
window.fbAsyncInit = function()
{ FB.init({appId: 'your app id', status: true, cookie: true, xfbml: true}); };
(function() { var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);}( ));
</script>

Then paste this where you want it to show, perhaps within <div id="pcMainArea08-LINKS"></div>:

<%
Dim strLikeURL, strLikeLayout
'// Layout Options Are: "standard" or "button_count" //'
strLikeLayout = "button_count"
If Request.ServerVariables("HTTPS") = "ON" Then
     strLikeURL = "https://"
Else
     strLikeURL = "http://"
End If
strLikeURL = strLikeURL & Request.ServerVariables("SERVER_NAME")
strLikeURL = strLikeURL & Request.ServerVariables("SCRIPT_NAME")
If Len(Request.ServerVariables("QUERY_STRING") & "") > 0 Then strLikeURL = strLikeURL & "?" & Request.ServerVariables("QUERY_STRING")
%>
<fb:like href="<%=strLikeURL%>"
layout="<%=strLikeLayout%>"
show_faces="false"
width="200"
action="like"
colorscheme="light" />

I'll let someone else play with the CSS on this.
Back to Top
CoffeeShop View Drop Down
Newbie
Newbie


Joined: 02-April-2008
Location: Philippines
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote CoffeeShop Quote  Post ReplyReply Direct Link To This Post Posted: 27-April-2010 at 3:05pm
Thanks Sean :)

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).

John
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 27-April-2010 at 3:31pm
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:
http://pc4.wmsmerchantservices.com/productcart/pc/home.asp

[Edit]It's already gone while we work on other issues.

Edited by Sean@WMS - 28-April-2010 at 1:31am
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 28-April-2010 at 12:57am
Ok, apparently this doesn't play nice with IE (will someone please write a virus to eradicate IE from the Internet!?)

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.
Back to Top
TrekLightGear View Drop Down
Newbie
Newbie


Joined: 24-April-2007
Location: Boulder, CO
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote TrekLightGear Quote  Post ReplyReply Direct Link To This Post Posted: 08-July-2010 at 8:04pm
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/

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.

The problem seems to be that extra 404 that's inserted into the link - any idea how to fix this?
Seth Haber
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 09-July-2010 at 3:00am
Hi Seth,

I did some testing on this earlier today and got some odd results I haven't been able to correlate yet.

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.
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.