Jump to content

Description not displayed when I click on manifacturer


Recommended Posts

Hello everyone, I install the block manifacturer(producers).

I create a new manufacturer in the BO with description and pictures, saved correctly.

The problem is that the front office, when I click on a manufacturer in the block, I get only a list of products related to that manufacturer and neither the image or description.

Is this normal? do I have to do something else?

thanks
bye

Link to comment
Share on other sites

Yes, that is normal. You'd need to modify manufacturer.tpl in your theme's directory and add the following code before line 7:


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



This code will display the "medium" size of the manufacturer's logo on its product listings. It will only work if you add logos to every one of your manufacturers though. It would be more difficult to write code that checks whether the logo exists before trying to display it.

Link to comment
Share on other sites

Thank you rocky!

that is for viewing image or logo.

But for the description (short and long) of the manifacturer? Is there any other PS variable that I have to print in the page?

many thanks

Link to comment
Share on other sites

  • 3 months 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...