Facebook Like Button installation instructions
Next steps
- Navigate to System > Configuration > Templates-Master > FaceBook Like Button and enable extension for any store you need.
- Configure FaceBook Like Button module according to your needs.
- Set Up New Facebook Application at http://www.facebook.com/developers/createapp.php
- If you are planning on using XFBML buttons, you will need to edit some template files
Change the opening html tag to read:
<html xmlns:og="http://ogp.me/ns#"
at next template files- app/design/frontend/[package]/[theme]/template/page/1column.phtml
- app/design/frontend/[package]/[theme]/template/page/2columns-left.phtml
- app/design/frontend/[package]/[theme]/template/page/2columns-right.phtml
- app/design/frontend/[package]/[theme]/template/page/3columns.phtml
- Code listed bellow should should be added to view.phtml file in order to display Facebook like button. For exampe app/design/frontend/[package]/[theme]/template/catalog/product/view.phtml.
<?php echo $this->getLayout()->createBlock('core/template')->setTemplate('facebooklb/like.phtml')->toHtml(); ?>
- Code listed bellow should should be added to list.phtml file in order to display social buttons. For example app/design/frontend/[package]/[theme]/template/catalog/product/list.phtml.
<?php echo Mage::helper('facebooklb')->getCategoryLikeButton($_product) ?>
- That's all. Navigate to your products page and check how your store looks.
That's all. Navigate to your store and check how your store looks.
If you have any problems with extension installation please contact us at templates-master.com/helpdesk and we will help you with extension installation
Common questions and ideas
Come up with new ideas!
Questions:
, Wednesday, August 23, 2017 on page
-
0voteA: You can change locale used by Facebook at extension configuration. Please check http://docs.swissuplabs.com/m1/extensions/facebooklikebutton/configuration/Posted byon Wednesday, August 23, 2017
, Friday, October 30, 2015 on page
-
0voteA: Do you want to add like button to entire category or just products listed on that category?Posted byon Friday, October 30, 2015