修改 \includes\templates\CUSTOM_TEMPLATE\templates\tpl_product_info_display.php,在 <!–bof Form start–> 之前加上這一行: <iframe src="http://www.facebook.com/widgets/like.php?href=<?php echo urlencode(zen_href_link(zen_get_info_page((int)$_GET['products_id']),'cPath='.(int)$_GET['cPath'].'&products_id=' . (int)$_GET['products_id'])); ?>&layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:40px"></iframe> 原始說明來自:Add Facebook ‘Like’ button to your Zen Cart product pages。
繼續閱讀...