Jump to content

increase character limit for product titles on product listing pages


Recommended Posts

Can anyone help me and tell me which file i need to edit to extend the character limit for the product listing page (the page with products listed - not the actual product page) at the moment the listings are like this - New mini quad bike 50cc bla.... so i need to extend the limit.
Theres no particular reason, it just bugs me a bit :)

Link to comment
Share on other sites

Change the following code on line 9 of product-list.tpl in your theme's directory:

{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}



Increase the truncate value from 35 to whatever you want the maximum number of characters to be before '...' is displayed.

Link to comment
Share on other sites

  • 8 months later...

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