weldmar Posted November 15, 2009 Share Posted November 15, 2009 Where can I edit the length of the Product Name in the "featured products" on the main page?Thanks Link to comment Share on other sites More sharing options...
rocky Posted November 17, 2009 Share Posted November 17, 2009 Go to modules/homefeatured/homefeatured.tpl and modify this part of line 14: {$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'} Change the truncate value from 27 to the maximum number of letters you want displayed before the product name is truncated and ... is added. Link to comment Share on other sites More sharing options...
TravisNPS Posted November 20, 2009 Share Posted November 20, 2009 thanks this was very helpful Link to comment Share on other sites More sharing options...
QuadDamage Posted January 5, 2010 Share Posted January 5, 2010 Go to modules/homefeatured/homefeatured.tpl and modify this part of line 14:{$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'} Change the truncate value from 27 to the maximum number of letters you want displayed before the product name is truncated and ... is added. Hi, I tried doing this, and it has no effect. I've been trying to figure this out for a few months but no mater how many times I mess with truncate settings, it makes no difference. When I modified the product listing page tpl file, it works just fine. But not for featured products. Any solution? I use 1.2.5 of course. Link to comment Share on other sites More sharing options...
rocky Posted January 5, 2010 Share Posted January 5, 2010 Did you change both the truncate values? The one with 32 is displays on hover only. You need to change the 27 one for the link. How long are the words you are trying to truncate? The function truncates whole words only. {$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'} Link to comment Share on other sites More sharing options...
TKTK Posted November 20, 2010 Share Posted November 20, 2010 I had the same problem, i found the solution here; http://www.prestashop.com/forums/viewthread/19342/Regards Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now