Jump to content

Manufacturers Description


Recommended Posts

I have filled in the 'Description' box for the manufactures, but I assumed this would be the description that is at the top of the page, above all products for sale by that manufacturer. The 'Description' seems to work when viewing all manufacturers as a list (I would call this a short description)

 

I have tired filling in the 'short desciption' box, but this appears to do nothing!

 

How do I get the description and image at the top of the page, above all products by that manufacturer?

 

This is where the description is being placed at the moment by default by prestashop:

 

Look at the 4th manufacturer from the bottom:

 

http://www.justlube.co.uk/manufacturers

 

Here is where I would like that description:

 

http://www.justlube.co.uk/19_swiss-navy

 

Many Thanks

Andy

Link to comment
Share on other sites

Try this

<img src="{$img_manu_dir}{$manufacturer->id}-medium.jpg" />
{$manufacturer->short_description}

directly under the h1 tag in manufacturer.tpl

 

If you don't want to use the manufacturer short description just remove the section of code that says short_

Link to comment
Share on other sites

In manufacturer-list.tpl change the following line

{$manufacturer.description}

to

[code{$manufacturer.short_description}[/code]

To center the logo in manfufactuer.tpl change it to
<p style="text-align:center;" ><img src="{$img_manu_dir}{$manufacturer->id}-medium.jpg" /></p>

 

If you want a bigger logo change the medium to large or home

Link to comment
Share on other sites

The centre image worked perfectly, but I am having problems with the short description.

 

My manufacturer-list.tpl file now looks like this:

 

 

 

{if $manufacturer.nb_products > 0}<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}">{/if}

{$manufacturer.short_description}

 

But the description in the list is now blank.

 

http://www.justlube.co.uk/manufacturers

 

I have defiantly got a description in the box in the back office, and I can't see a mistake in the tpl file.

 

Have I missed something obvious out?

 

Thanks again for your help with this.

 

Andy

Link to comment
Share on other sites

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...