在商品介紹頁上加入facebook like可以讓其他人知道讓產品有多少人覺得不錯,可以增加產品曝光度。
1.在產品標題上加入Facebook Like
2.在themes/default/goods.dwt
找到class=”textInfo”
在底貼上
<script>document.write(“<iframe src=’http://www.facebook.com/plugins/like.php?href=”+document.URL+”&layout=standard&show_faces=false&width=350&action=like&font=verdana&colorscheme=light&height=25′ scrolling=’no’ frameborder=’0′ style=’border:none; overflow:hidden; width:350px; height:25px;’ allowTransparency=’true’></iframe>”)</script>
參考資料:http://preserves-store.blogspot.tw/2011/04/ecshopfacebook.html
同步發表於:如何在Ecshop產品說明頁加入facebook Like按鈕
- 本文固定链接: http://wordpress.bestdaylong.com/blog/archives/3218
- 转载请注明: 明和 蔡 于 彰化一整天blog 发表