| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How the puck do you add a facebook like button? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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!!
__________________
x-cart gold 4.4.2 Last edited by ambal : 01-12-2012 at 10:43 PM. |
|||||||
#2
|
|||||||||
|
|||||||||
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
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
#3
|
|||||||||
|
|||||||||
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||
|
|||||||
Re: How the fuck do you add a facebook like button?
Quote:
Agreed, was his/her first post as well !
__________________
xcartmods.co.uk |
|||||||
#5
|
|||||||||
|
|||||||||
Re: How the fuck do you add a facebook like button?
Quote:
As the saying goes - You'll catch more flies with honey.
__________________
Conor Treacy - Big Red SEO - @bigredseo Search Engine Optimization & Internet Marketing - We Bring Your Website Out Of Hiding! If you can't be found on Google, Bing or Yahoo, you pretty much don't exist on the Internet. Omaha SEO Office with National & Local SEO Services Hourly Consulting - great for SEO Disaster Recovery, Audits and DIY Guidance |
|||||||||
#6
|
|||||||||
|
|||||||||
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.
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
|
#7
|
|||||||
|
|||||||
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
__________________
x-cart gold 4.4.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|