LasseSJ Posted April 21, 2014 Share Posted April 21, 2014 Hi. I use Presta 1.5.4.0 default theme. Please see attached picture.Some of the product titles are shortend to 3 dots (...).How and where can I change this, so it always shows the whole product title?Thank you. BR LSJ Link to comment Share on other sites More sharing options...
vansrv7 Posted April 21, 2014 Share Posted April 21, 2014 In product-list.tpl modify the value of "truncate" keyword Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2014 Share Posted April 21, 2014 there is a code (product-list.tpl) like: {$accessory.name|truncate:20:'...':true|escape:'html':'UTF-8'} remove striked part: {$accessory.name|truncate:20:'...':true|escape:'html':'UTF-8'} Link to comment Share on other sites More sharing options...
LasseSJ Posted April 21, 2014 Author Share Posted April 21, 2014 Hi Again. The file shows: </div> <div class="center_block"> <a href="{$product.link|escape:'htmlall':'UTF-8'}" class="product_img_link" title="{$product.name|escape:'htmlall':'UTF-8'}"> <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} /> {if isset($product.new) && $product.new == 1}<span class="new">{l s='New'}</span>{/if} </a> <h3><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'|truncate:35:'...'}</a></h3> <p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}" >{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}</a></p> </div> Let me know what to remove/edit. Thank you guys Link to comment Share on other sites More sharing options...
Ittu Posted April 21, 2014 Share Posted April 21, 2014 Hi Again. The file shows: </div> <div class="center_block"> <a href="{$product.link|escape:'htmlall':'UTF-8'}" class="product_img_link" title="{$product.name|escape:'htmlall':'UTF-8'}"> <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} /> {if isset($product.new) && $product.new == 1}<span class="new">{l s='New'}</span>{/if} </a> <h3><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'|truncate:35:'...'}</a></h3> <p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}" >{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}</a></p> </div> Let me know what to remove/edit. Thank you guys Remove this highlight yellow text. Link to comment Share on other sites More sharing options...
LasseSJ Posted April 21, 2014 Author Share Posted April 21, 2014 Nice one ;-)Thank you for your time Link to comment Share on other sites More sharing options...
Recommended Posts