Add Facebook Like on a product page in Magento

Having a Facebook button on your product is an easy way to take advantage of the power of Facebook. If a user clicks on it, he shares your page with all his friends. To add this button, add the following code anywhere in this template file: app/design/frontend/theme/theme/template/catalog/product/view.phtml
<a name="fb_share" type="button"></a>
<script src="" type="text/javascript">
<?php elseif($_share == 'facebook_like'): ?>
<script src=""></script><fb:like show_faces="true" width="450"></fb:like>
<?php endif; ?>

Site Search

Contact Us

Parent Technology Inc.
1535 Rosalind Rd Se
East Grand Rapids, MI 49506, USA

This email address is being protected from spambots. You need JavaScript enabled to view it.