X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How the puck do you add a facebook like button? (https://forum.x-cart.com/showthread.php?t=62309)

Patty 01-12-2012 09:45 AM

How the puck do you add a facebook like button?
 
I╢m trying to add a facebook like button to my products pages, but I can't find the template where you add the facebook code.

(<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=322282411138899";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>)

I managed to find product_details.tpl where I have added:
<div class="fb-like" data-send="true" data-width="450" data-show-faces="true"></div>

But the facebook script code apperantly have to go in somewhere else, I guess in a template where you find the <html><body> tags...

But where?? I╢m frustrated... to fix small simple things in your xcart shop is a nightmare with all these templates!

Please help me!!

Toora Designs 01-12-2012 10:21 AM

Re: How the fuck do you add a facebook like button?
 
please take a look at this http://help.qtmsoft.com/index.php?title=X-Cart:Socialize

cflsystems 01-12-2012 05:45 PM

Re: How the fuck do you add a facebook like button?
 
The socialized mod is not available on any XC version except 4.4.4. Few threads in here about this and how to do it - search the forum. This may help http://forum.x-cart.com/showthread.php?t=58280&highlight=facebook+like
There is no need for foul language

PhilJ 01-12-2012 05:56 PM

Re: How the fuck do you add a facebook like button?
 
Quote:

There is no need for foul language

Agreed, was his/her first post as well !

bigredseo 01-12-2012 07:43 PM

Re: How the fuck do you add a facebook like button?
 
Quote:

Originally Posted by cflsystems
There is no need for foul language

I thought it was a pretty odd way of asking for help myself. In fact, I had purposely skipped over this thread when I first saw it posted.

As the saying goes - You'll catch more flies with honey.

ambal 01-12-2012 10:42 PM

Re: How the puck do you add a facebook like button?
 
Moved to X-Cart Customization > Storefront Design & Template Editing in v 4.4.x

Patty, I'll have to ban you next time for using this kind of language in the forum.
I changed thread title, too.

Patty 01-14-2012 04:49 AM

Re: How the puck do you add a facebook like button?
 
I do apologize for the use of profanity in the title of this thread.

In truth, we are more than one person working on one particular site and heavy workload plus pressing deadlines can sometimes be very frustrating.

Although this is no excuse for bad behavior.

Once again I apologize for any offense this thread might have caused and I thank you for your help.

Furthermore, future posts posted by me or people working with me will not include profanity or content that might be considered offensive.

Thank you


All times are GMT -8. The time now is 07:24 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.