How to add Facebook Like on a product page in Magento

To add a Facebook Like button on each product page in Magento you simply need to add the following code anywhere in your app/design/frontend/theme/theme/template/catalog/product/view.phtml template: <a name=”fb_share” type=”button”></a> <script src=”http://static.ak.fbcdn.net/connect.php/js/FB.Share” type=”text/javascript”> </script> <?php elseif($_share == ‘facebook_like’): ?> <script src=”http://connect.facebook.net/en_US/all.js#xfbml=1″></script><fb:like show_faces=”true” width=”450″></fb:like> <?php endif; ?>   Full Story

Using Cufon in Magento

huge-typograpy-5

Cufon is a way (among several other) to add more or less any font as a fully usable font directly on your website – of course including Magento. Here we’ll show you how to do that in just a few steps. Find your font. A good resource of free fonts is www.dafont.com, however make sure the font you are about to use has an EULA that fits your needs. Go to the Cufon site and follow the instructions on how to upload your font and get the generated font.js file. Also download the cufon-yui.js … Full Story