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
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
Increase product image quality
Magento by default compress and reduce the quality of uploaded product images. This tips show you how to increase the product image quality. Full Story
Ten great ecommerce tips for Magento
Practical eCommerce – the leader in Ecommerce news – asks industry insiders each month to share a great, innovative idea that could help an ecommerce company succeed. Here’s what ten of them had to say for the July 2009 installment. Full Story
Display best selling product in magento
Want to display the best selling products in your Magento store on the frontpage or anywhere else in your store? The best selling products means the products sold in highest quantity in Ascending order. This functionality is for some strange reason not included in Magento by default so we’ll explain how you can set it up yourself. Full Story
Add Static Block content in template
Normally you would need to add some lines of code in the XML layout files to be able to include a static block from the CMS-system in the Magento Backend, but using this code in the template will automatically fetch the content from the static block: <?php echo $this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘your_cms_block_identifier’)->toHtml() ?> Full Story