Posts Tagged ‘like

Add Facebook Like Button to Magento Products

Below is the code to add the Facebook ‘Like’ Button to your Magento product pages. The code will pick up the current page URL automatically, so your users can individually like each product as opposed to the entire website. <iframe src=”http://www.facebook.com/plugins/like.php?href=<?php echo $_product->getProductUrl() ?>&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80″ scrolling=”no” frameborder=”0″ style=”border:none; overflow:hidden; width:450px; height:80px;” allowTransparency=”true”></iframe> Copy the code and […]

Tags : , , ,