Knowledgebase
How can I trim the amount of the review shown to a set number of characters?
Posted by Carrie Saunders on 16 March 2008 08:36 PM
Open up skin1/customer/product_rev.tpl and find this line:
{$sel_review}

Change it to:
{$sel_review|truncate:500}

You can change the number 500 to what ever you wish. If you want to get fancy, you can do it like this and what is in the quotes will be appended to the end. Example:
{$sel_review|truncate:500:"..."}

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: