View Single Post
Old December 28th, 2011, 01:04 PM
DMAB22 DMAB22 is offline
Join Date: Dec 2011
Posts: 14

hi there,

so after removing the canonical url the product link (when added to facebook) defaults to the store front page. this is the code i'm using.

to the <head> i've added <html xmlns:fb="">

to <body> i've added <div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); = id;
js.src = "//";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

and then I've added this to the text module in the product detail default template

<fb:like href="[server.url type='fullpage']" send="false" width="450" show_faces="false"></fb:like>

any ideas?