Jump to content

Add manufacturer name & link on product page?


Recommended Posts

Hello, is there a way to add a manufacturer link on the product description, in the bootstrap-theme? For example below the product reference, or the short description?

 

Something that looks for example like this:

 

Brand: Manufacturer X

 

and make the manufacturer name a clickable link?

 

Thanks if anyone knows how to implement this.

 

And have a nice weekend everyone!

 

Dan

Link to comment
Share on other sites

Hi Psvefer,

 

thanks for the info and the tutorial. Is it very difficult to modify your code in order to make it a clickable link that directs to the manufacturer page? That would be a big asset on the product pages.

 

Best regards,

 

Dan

Hi Dan,

(cool username btw)

 

I looked into it, it wasn't as hard as I first though!

From the tutorial, replace the secnod part with this. Let me know, if it helps!

<p id="manufacturer" {if !$product_manufacturer->name}style="display: none;"{/if}> <label>{l s='Manufacturer:'} </label> 
<a href="{$link->getManufacturerLink($product_manufacturer->id_manufacturer, $product_manufacturer->link_rewrite)|escape:'html':'UTF-8'}"><span>{$product->manufacturer_name|escape:'htmlall':'UTF-8'}</span></a> 
</p>
  • Like 3
Link to comment
Share on other sites

Hi Psfever,

 

have you already replaced the code on the tutorial page? Because I started with implementing that, and it did work great, manufacturer shows up, link is clickable, perfect!

 

I am really happy for that code snippet, thanks a lot for making it happen! It's a great addition to the default template, I wonder why it is not standard.

 

Regarding my username, thanks, but I can only take half credit for it; the other half goes to the spammers whose email program auto-corrected my first name, and who kept sending me messages starting with "Hello Mister Denial..." - I liked the sound of it, so I kept it. Who said spammers are good for nothing?! ;-)

Link to comment
Share on other sites

Hi Psfever,

 

have you already replaced the code on the tutorial page? Because I started with implementing that, and it did work great, manufacturer shows up, link is clickable, perfect!

 

I am really happy for that code snippet, thanks a lot for making it happen! It's a great addition to the default template, I wonder why it is not standard.

 

Regarding my username, thanks, but I can only take half credit for it; the other half goes to the spammers whose email program auto-corrected my first name, and who kept sending me messages starting with "Hello Mister Denial..." - I liked the sound of it, so I kept it. Who said spammers are good for nothing?! ;-)

Really glad to hear that it has worked!

Yes I've changed the tutorial page as well, thanks for the tip, I probably would have never though of this..

 

Hello Mister Denial is a great greeting! I envy you a bit :-)

Link to comment
Share on other sites

Really glad to hear that it has worked!

Yes I've changed the tutorial page as well, thanks for the tip, I probably would have never though of this..

 

Hello Mister Denial is a great greeting! I envy you a bit :-)

 

That's the beauty of open source, right there! One person has the idea, the other has the skills, boom, a great solution for everyone! :-)

 

At least I got something out of the countless spam emails! ;-)

Link to comment
Share on other sites

  • 4 months later...
works like magic in Product.TPL

I use for SEO inside element schema.org/Product

       <meta itemprop="manufacturer" content="{$link->getManufacturerLink($product_manufacturer->id_manufacturer, $product_manufacturer->link_rewrite)|escape:'html':'UTF-8'}" />

 

does not work on Product-list.TPL => http://www.winerepublic.ro/ro/_

 


 

does not work on homefeatured.TPL => http://www.winerepublic.ro/ro/_

 

How hard is to make it ?

 

Makes a lot of business sense from SEO perspective.

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

I use for SEO inside element schema.org/Product
       <meta itemprop="manufacturer" content="{$link->getManufacturerLink($product_manufacturer->id_manufacturer, $product_manufacturer->link_rewrite)|escape:'html':'UTF-8'}" />

 

[...]

 

Makes a lot of business sense from SEO perspective.

 

Actually that is a brilliant idea, adding the manufacturer schema information! @ Psfever: do you think you can integrate that somehow into your tutorial?

  • Like 1
Link to comment
Share on other sites

Yes, but you have to help me for this because I am not strong as programmer .

 

Product Page http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fwww.winerepublic.ro%2Fen%2Fwhite-wine%2F1234-lacerta-chardonnay.html

 

Category Page http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fwww.winerepublic.ro%2Fen%2Fwines-6

 

Homepage http://www.winerepublic.ro/en/

 

So, we have to address Homepage.TPL , Product-list.TPL , Product.TPL.

 

What do you say ?

Link to comment
Share on other sites

I would say that currently the priority should be the product.tpl as it is the unique product offering, and the page that will get most attention from Google in understanding the offering.

 

Second most important would be the category page, as Google will be able to understand multiple product offerings on one page in the future. There already are some threads about schema on those pages, especially as there is a currency bug for some users (including me) where pricecurrency=0

 

On the homepage, I would not worry too much about schema, as long as your product details and listings are set up correctly.

Link to comment
Share on other sites

×
×
  • Create New...