I don't have php skills yet.
I want to modify my product.tpl template and wanted to hard-code my own facebook likebox, twitter and google buttons.
But my problem is, I don't know how to get and echo out the seo product url of a product page.
This is what a facebook like box count looks like, and I needed to substite the data-href value dynamically with the currently viewed product's url. So it's gonna be data-href="http://mysite.com/the-product-seo-url"
Code: Select all
<div class="fb-like" data-href="http://facebook.com" data-send="false" data-layout="box_count" data-width="50" data-show-faces="false" data-font="verdana"></div>