lovehyesung Posted August 29, 2011 Share Posted August 29, 2011 My "Featured Products" can't show the whole name, the same problem also happens in my products list. I have tried to edit modules/homefeatured/homefeatured.tpl file and themes/prestashop/product-list.tpl file, but nothing changed. I used the method found from here to change height of homefeatured products block in homefeatured.tpl. This still can't work. All these methods are founded from forum, but can't work in my default prestashop theme. Can anyone help me please, thank you! Link to comment Share on other sites More sharing options...
shokinro Posted August 29, 2011 Share Posted August 29, 2011 the name are truncated by Smarty in theme file see following code truncate:32 <h5><a href="{$product.link}" title="{$product.name|truncate:32:'...'|escape:'htmlall':'UTF-8'}">{$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'}</a></h5> if you want to make it long, just change number. Link to comment Share on other sites More sharing options...
PrestaDesigner.com Posted August 29, 2011 Share Posted August 29, 2011 Depending upon the theme, if you would like to use the default theme, the way to go is as shokinro pointed you. Link to comment Share on other sites More sharing options...
Patric Posted August 30, 2011 Share Posted August 30, 2011 Topic moved into the "Integration" section. Link to comment Share on other sites More sharing options...
lovehyesung Posted August 31, 2011 Author Share Posted August 31, 2011 the name are truncated by Smarty in theme file see following code truncate:32 <h5><a href="{$product.link}" title="{$product.name|truncate:32:'...'|escape:'htmlall':'UTF-8'}">{$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'}</a></h5> if you want to make it long, just change number. Can you show me where the file is? I have changed product-list.tpl like you said, but nothing happened. 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