MeltDown:
Hi, and thanks for this mod :)
I've been able to successfully install the mod (Zen cart 1.3.8), however, when I "like" and post the item to FB, it is always the incorrect item. Any ideas?
Also, I'd prefer not to have the faces. How might I achieve this?
Thanks again.
in the includes/templates/your template/templates/tpl_product_info_display.php
I have my code right after this code:
//require(DIR_WS_MODULES . '/debug_blocks/product_info_prices.php');
?>
That is how mine is set in and it shows only the link to share with...no button or faces...I get tired of seeing that thumb everywhere--fact is mine just shows a tiny facebook "F" button
<!-- bof Facebook Like Button -->
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: 'YOUR INFO HERE', status: true, cookie: true,
xfbml: true});
FB.Event.subscribe('edge.create', function(href, widget) {
// Do something, e.g. track the click on the "Like" button here
});
};
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
<!-- eof Facebook Like Button -->