Hi I'm trying to get the current url in a template. If I use:
{$config.http_host}{$http_location}{if $seo_url}{$seo_url.href}{else}/{$config.current_url}
I always get something like:
example.com/index.php?dispatch=products.view&product_id=15
What I really want is example.com/category/product-name.html
I can't get the $seo_url variable to work. Is there an up to date list of these variables and where they can be used. Or can someone tell me how to print to screen what variables are available, or does someone know the correct way to achieve this?
Many thanks.