Hi
I'm trying to add the facebook like to my product page and have been using the following code below, the code works but what seems to be the problem is that some of the varibles I thought should work don't and just can't get it too pull in the url of the product page or the image of the product.
Any help would be great.
Cheers
Darren
<meta property="og:title" content="<actinic:variable name="PageTitle" />" /> - This work fine
<meta property="og:site_name" content="Funky Cards - Greeting Cards, Gift Wrap and Stationery Online" />
<meta property="og:type" content="product" />
<meta property="og:url" content="<actinic:variable name="PageFileExtension" />?fblike" /> - This doesn’t work and trying to pull in the url of the page
<meta property="fb:app_id" content="133503260031659" />
<meta property="og:image" content="http://www.funky-cards.co.uk/acatalog/<actinic:variable name="ProdRef" />X1_thumb.jpg" /> - This doesn’t work and I’m trying to pull in the url of the product thumb nail, so was trying to just pull in the product ref’s number
So the below code is in the product layout and again isn’t quite working.
<div class="fbLike">
<div class="t"></div>
<div class="b"></div>
<fb:like href="<actinic:variable name="PageFileExtension" />?fblike" show_faces="true" layout="standard" ></fb:like> - This doesn’t work and trying to pull in the url of the page
</div>
I'm trying to add the facebook like to my product page and have been using the following code below, the code works but what seems to be the problem is that some of the varibles I thought should work don't and just can't get it too pull in the url of the product page or the image of the product.
Any help would be great.
Cheers
Darren
<meta property="og:title" content="<actinic:variable name="PageTitle" />" /> - This work fine
<meta property="og:site_name" content="Funky Cards - Greeting Cards, Gift Wrap and Stationery Online" />
<meta property="og:type" content="product" />
<meta property="og:url" content="<actinic:variable name="PageFileExtension" />?fblike" /> - This doesn’t work and trying to pull in the url of the page
<meta property="fb:app_id" content="133503260031659" />
<meta property="og:image" content="http://www.funky-cards.co.uk/acatalog/<actinic:variable name="ProdRef" />X1_thumb.jpg" /> - This doesn’t work and I’m trying to pull in the url of the product thumb nail, so was trying to just pull in the product ref’s number
So the below code is in the product layout and again isn’t quite working.
<div class="fbLike">
<div class="t"></div>
<div class="b"></div>
<fb:like href="<actinic:variable name="PageFileExtension" />?fblike" show_faces="true" layout="standard" ></fb:like> - This doesn’t work and trying to pull in the url of the page
</div>
Comment