Greenpilgrim Posted February 29, 2012 Share Posted February 29, 2012 Hi Is it possible to change the length of the title in the categories. See pic below, Ideally I would like the short title in the category to display the whole product title rather then cutting it off. Top Pic Products in Category List Bottom Pic Product Title I would like to desplay in category I just need a point in the right direction on how to do this. I presume it is something to do with the theme but i dont know what and where i need to change. Any help is much appriciated. Thanks Chris Link to comment Share on other sites More sharing options...
Rolige Posted March 1, 2012 Share Posted March 1, 2012 Check the file product-list.tpl in you active theme, search this line below: <h3>{if isset($product.new) && $product.new == 1}<span class="new">{l s='New'}</span>{/if}<a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}</a></h3> In truncate:35, change 35 to XX valor of character you need show, don't forget activate force compile to see the changes, greatings. 1 Link to comment Share on other sites More sharing options...
Greenpilgrim Posted March 1, 2012 Author Share Posted March 1, 2012 Thanks sQs that worked great. The help is much appreciated. Thanks Chris Link to comment Share on other sites More sharing options...
Rolige Posted March 1, 2012 Share Posted March 1, 2012 I'm glad you could solve it, a greeting. Link to comment Share on other sites More sharing options...
hernanlr Posted September 13, 2012 Share Posted September 13, 2012 Hi. I have the same problem, but with the titles on accessories. Sometimes, if the titles are too long, they break into more lines and overlap the pictures... Any idea on where to find the file where this limit must be set? Link to comment Share on other sites More sharing options...
hernanlr Posted September 14, 2012 Share Posted September 14, 2012 Any help, please!!! Link to comment Share on other sites More sharing options...
jpBenfica Posted September 14, 2012 Share Posted September 14, 2012 This is very useful. Link to comment Share on other sites More sharing options...
Recommended Posts