Jump to content

MAnufacturers -Description and Short description-


Recommended Posts

Using: Prestashop 1.4.7.0

 

Options? opinions or ideas how to do this?

 

 

I want the manufacturers page that show only the short description, then when clicked on the manufacturer, to show the products and the long description

 

I tried commenting out the description on the manufacturer list .tpl but short description never appearrs anyway...

 

thanks in advance for the tips! x)

Link to comment
Share on other sites

  • 3 weeks later...

Hey, you'll want to put this in your manufacturer.tpl file for full description:

 

{$manufacturer->description|escape:'':'UTF-8'}

 

Then, in your manufacturer-list.tpl, to have a short manufacturer description (I don't think there is a short description like there is for categories), you'll have to edit the truncate limit:

 

{$manufacturer.description|truncate:350}

 

change the 350 to whatever you like.

Edited by S7 Media Ltd (see edit history)
Link to comment
Share on other sites

thank you!

there is a short description field for manufacturers, but, it doesn't really work, why? i actually have no idea (fail xD) (i've read other forums and people saying it doesn't appear, so im guessing some prestashop error)

 

but this solution works pretty good for what i need! i had come up wit something like that! thank u again!

Link to comment
Share on other sites

  • 2 months later...
  • 3 months later...

Thank you statictic, it works perfectly!

 

I tried to modify the characters number in the class file "Manufacturer.php". (254 by default).

Saving is ok but after a refresh the extra characters are gone.

 

Does somebody know how to resolve that problem?

Link to comment
Share on other sites

Hello

I have a little problem and i need help :)

i want to have in info about manufacturers - name, ..., address

 

i use prestashop 1.5

 

thanks

I kind of did this, but it's too ugly to show. :-/ What happens when I have to figure it out without help :-\

You may pm me, but I will not show my code here...

(And anyone who knows how to do it properly may very well explain it here)

Edit: I wrote a bit about it here

 

/Mats

Edited by mohsart (see edit history)
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...