View Single Post
  #7  
Old December 20th, 2011, 11:31 AM
DMAB22 DMAB22 is offline
 
Join Date: Dec 2011
Posts: 14
Default

this is the xfbml code from facebook. it's supposed to default to the current page, but it defaults to the store home page instead:

added to body tag:

<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); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

added to html tag:

<html xmlns:fb="http://ogp.me/ns/fb#">

added to the text module in the products detail view:

<fb:like href="http://designermaternityandbaby.com" send="false" width="450" show_faces="false"></fb:like>