Requirements:
- SEO URLs Must be Enabled
Demo:
Demo Link: http://www.stylemyapple.co.uk
Instructions:
Edit the file: catalog/view/theme/default/template/product/product.tpl
Find this piece of code:
Code: Select all
</table>
<br />
<?php if ($display_price) { ?>
Code: Select all
<div style="width: 100%; padding-top:10px;">
<table>
<tr>
<td><iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/product&product_id='.$this->request->get['product_id']); ?>&layout=standard&show_faces=false&width=280&action=like&colorscheme=light&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:270px; height:35px;" allowTransparency="true"></iframe>
</td>
</tr>
</table>
</div>
Let me know if you find any problems