![]() |
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!! |
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
|
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 |
Re: How the fuck do you add a facebook like button?
Quote:
Agreed, was his/her first post as well ! |
Re: How the fuck do you add a facebook like button?
Quote:
As the saying goes - You'll catch more flies with honey. |
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. |
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.