Jump to content

Manufacturer Link in product.tpl


Recommended Posts

Hello!

 

Pretty straightforward, i'm trying to add the manufacturer name on the product pages but in a link to the manufacturer page. I managed to make the name appear but it isn't linked.

 

<span>{$product->manufacturer_name|escape:'htmlall':'UTF-8'}</span> 

 

Any help appreciated!
Thanks!

 

Nevermind! Found it!

For those who are searching for it, it's

<a href="{$link->getPageLink('manufacturer.php')}?id_manufacturer={$product->id_manufacturer}" title="{$product->manufacturer_name|escape:'htmlall':'UTF-8'}">{$product->manufacturer_name|escape:'htmlall':'UTF-8'}</a>

Edited by d4rkbl4de (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...