Jump to content

I want a full product description not a truncated one in product_list.tpl


Recommended Posts

I want a full product description not a truncated one in product_list.tpl in my theme directory

Line 10 says

{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}



I have tried everything I can think of to modify the code, but nothing seems to happen. Any ideas or is there something global or is it just my browser cache.

Link to comment
Share on other sites

There are two columns in database one description and other description_short.
Your code shows short description truncated .

This code wil show full description truncated with limit of 360 characters

{$product.description|strip_tags:'UTF-8'|truncate:360:'...'}


and this with no restriction

{$product.description|strip_tags:'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...