tester123 Posted August 25, 2010 Share Posted August 25, 2010 It gets cut off at Featured Products section. Picture attached.My description is quite long. Link to comment Share on other sites More sharing options...
rocky Posted August 25, 2010 Share Posted August 25, 2010 If you want more than one line for the product description, you'll need to change line 14 of modules/homefeatured/homefeatured.tpl: {$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'} Increase the truncate value from 27 to for two-line descriptions. Increase the 32 as well to how long the tooltip should be. Link to comment Share on other sites More sharing options...
tester123 Posted September 29, 2010 Author Share Posted September 29, 2010 ...and where shall I change the code to do the same with listed products /while viewing whole range in category/.thank You upfront Link to comment Share on other sites More sharing options...
rocky Posted September 30, 2010 Share Posted September 30, 2010 Change line 8 of product-list.tpl in a similar way: {if $product.new == 1}{l s='new'}{/if}<a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'|truncate:35:'...'} 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