谷歌+1代码如下,
<div style="margin:-26px 0 0 288px;">
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone href="<?php echo Mage::helper('checkout/url')->getCurrentUrl();?>"></g:plusone>
</div>
fackbook like 代码如下:
<div style="margin:0px;" id="fb-root">
<script src="http://connect.facebook.net/en_US/all.js#appId=235512196464054&xfbml=1"></script>
<fb:like href="<?php echo Mage::helper('checkout/url')->getCurrentUrl();?>" send="true" layout="button_count" width="180" show_faces="true" font="">
</fb:like>
</div>
添加在你想要的位置就可以,不需要去安装插件!
今天早上发现了一个分享的插件,没测试
http://www.magentocommerce.com/magento-connect/Zizio/extension/7886/social_power_share
key:magento-community/Social_Power_Share