Hopefully this is something very simple,
I am currently writing a new theme to use for OC2.0 and need to be able to echo the canonicalised url for the product page, e.g. http://www.mysite.com/product (not /category/product)
can anyone tell me the best way of doing this, On 1.4.6.3 I used to use
Code: Select all
<?php echo $canonical_url; ?>
Any advice much appreciated as it will then allow me to get my social boxes working well as well as a few other things.
Many Thanks
James