![]() |
Customize number of lines in product short description
How can I customize the number of lines in product short description ?
Now I have 3 lines but I would like to get 5 lines on each product short description. Also I would like to get the description as a whole and not truncated . For ex just first two words from the sentence. |
Are you talking about the display in the cart?
|
No.
When you have multiple products in a category and they come with the short description. Thanks |
Open up customer/main/products.tpl and replace this:
Code:
{$products[product].descr|truncate:300:"...":true} with this: Code:
{$products[product].descr} That will keep it from truncating. To make it display in multiple lines, just format the description when you enter it. Use tags to make a new line. |
All times are GMT -8. The time now is 10:56 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.