Jump to content

Displaying manufacturer description and Logo


Recommended Posts

Hi All

I am currently customizing a Prestashop theme and am having trouble with something i want it to do and am looking for help with this.

What i what i want is that when you select a Manufacturer e.g. Apple and it goes to thet page , for it to display the logo and the description of the Manufacturer as well as all their products.

E.g.

It displays the Logo and description on the manufacturer.php page, but not on the manufacturer.php/5_apple.

Many thanks in advance

Steve

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...

I have managed to link the manufacturer and logo together so that they are displayed together, but I am unable to find the correct code to display the correct manufacturer, it just displays the highest id manufacturer, which isnt very useful.

I think it needs some sort of smarty code to get the correct manufacturer from the product table of mysql.

Link to comment
Share on other sites

  • 2 weeks later...

Just try to add in a file manufacturer.tpl in your template dir, after the line

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


following code:

id}.jpg" 
alt="{$manufacturer->name|escape:'htmlall':'UTF-8'}" 
title="{$manufacturer->name|escape:'htmlall':'UTF-8'}" />
{$manufacturer->description[$id_lang]|escape:'htmlall':'UTF-8'}

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