Jump to content

Top banner + Description txt in manufacturer list?


BGBK

Recommended Posts

You will need to edit manufacturer.tpl in your theme's directory:

{include file=$tpl_dir./breadcrumb.tpl}

{l s='List of products by manufacturer:'} {$manufacturer->name|escape:'htmlall':'UTF-8'}

{include file=$tpl_dir./errors.tpl}

{if $products}
   {include file=$tpl_dir./product-sort.tpl}
   {include file=$tpl_dir./product-list.tpl products=$products}
   {include file=$tpl_dir./pagination.tpl}
{else}

{l s='No products for this manufacturer.'}
{/if}



After the fifth line, add the following code to display the manufacturer logo centred:


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



Change medium to the size of the image on the Preferences > Images tab that you want to use.

Then add the following to display the description entered for the manufacturer on the Catalog > Manufacturers tab:


{$manufacturer->description}



or the following to use the short description:


{$manufacturer->short_description}

Link to comment
Share on other sites

I see

So I can change

id}-medium.jpg" />



to

id}-category.jpg" />



(its set to 556 x 80 px) and see to it that it is active for manufacturer + maybe upload new manufacturers logo with original size set to 556 x 80?

Correct? :-)

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 years 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...