lateral Posted October 3, 2014 Share Posted October 3, 2014 Hi Guys Is there a way to display 3 lines of the Short Description for a Product instead of just 2 lines in the Front Office Products page??? Thanks Link to comment Share on other sites More sharing options...
bellini13 Posted October 3, 2014 Share Posted October 3, 2014 I looked at the default-bootstrap theme and I do not see it truncating the short description. What theme are you using? Link to comment Share on other sites More sharing options...
lateral Posted October 3, 2014 Author Share Posted October 3, 2014 I'm using a theme from Templatemonster. www.rodpenroseracing.com.au Link to comment Share on other sites More sharing options...
bellini13 Posted October 3, 2014 Share Posted October 3, 2014 Then you probably need to review the themes product.tpl file Search for the word "description_short" in that file and see if the word "truncate" appears next to any of them Link to comment Share on other sites More sharing options...
lateral Posted October 3, 2014 Author Share Posted October 3, 2014 Hi Bellini13, I couldn't find anything in the products.tpl file but I did in the product-list.tpl. The field that I am interested in is the product.name field as per the following block of code: It is being truncated to 45 characters. I've done a quick test and this is where I need to change it : Thanks for pointing me in the right direction! <h5 itemprop="name"> {if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if} <a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" > <span class="list-name">{$product.name|truncate:45:'...'|escape:'html':'UTF-8'}</span> <span class="grid-name">{$product.name|truncate:45:'...'|escape:'html':'UTF-8'}</span> </a> </h5> Link to comment Share on other sites More sharing options...
bellini13 Posted October 3, 2014 Share Posted October 3, 2014 where you able to change it based on your needs? it is not clear if you resolved the issue now Link to comment Share on other sites More sharing options...
lateral Posted October 4, 2014 Author Share Posted October 4, 2014 Yep, all solved. 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