/ Published in: PHP
Embedding Google’s +1 button is pretty easy and straightforward. All it takes is to include 2 code snippets in your web page. One goes in the header of the page, and the other one goes to wherever where you want the +1 button to render. To do so all you need is to follow the official Google guideline outlined
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
With that in mind, let’s build us Magento extension, preferably the non-obtrusive one. We will call our extension “GPlusOne†and place it under the “Inchoo†namespace.
URL: http://inchoo.net/ecommerce/magento/magento-extensions/howto-google-1-extension-for-magento/