Jump to content

Display Manufacturer Name


Recommended Posts

Hello All,

 

I would like to have the manufacturer name displayed on the products page. It should come right above the product name. Could you please let me know which file i should be updating and what should be the code. I could take care of the styling though, just need help with this, thanks in advance. 

Link to comment
Share on other sites

Hi,

 

To show the manufacturer name use {$product->manufacturer_name|escape:'html':'UTF-8'}   , you can put the code on product.tpl  in line 158 above
 <h1 itemprop="name">{$product->name|escape:'html':'UTF-8'}</h1>

 

put 
 

<h2 itemprop="manufacturer_name">{$product->manufacturer_name|escape:'html':'UTF-8'}</h2>

 

will look like this

 

{/if}
<h2 itemprop="manufacturer_name">{$product->manufacturer_name|escape:'html':'UTF-8'}</h2>
<h1 itemprop="name">{$product->name|escape:'html':'UTF-8'}</h1>
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...