Product name length in "Products grid" view

Hi,

I need to increase the length of Product Name, so that a full name can be displayed in the “Product grid” view of products list. Right now the name is truncated after approx 42 charater like this



Leather Strap Ladies Studded Fashion Watch…



Any help how I can modify the code to increase the length?



Thank

Hi,

Your Skin common_templates/product_data.tpl



Find


{elseif $show_trunc_name}
{if $hide_links}{else}{/if}{$product.product|unescape|truncate:45:"...":true}{if $hide_links}{else}{/if}
{/if}


the truncate:45 is waht you serching

Hi,



I did a search for:

[font=courier new,courier,monospace]{elseif $show_trunc_name}

{if $hide_links}{else}$product.product_id”|fn_url}” class=“product-title” title=“{$product.product|strip_tags}”>{/if}{$product.product|unescape|truncate:45:“…”:true}{if $hide_links}{else}{/if}

{/if}[/font]

and it only appeared in one place: var/skins_repository/basic/customer/common_templates



I changed [font=courier new,courier,monospace]truncate:45[/font] for [font=courier new,courier,monospace]truncate:70[/font] and I reuploaded the file but it didn't seem to change anything…



Is there another way to do it in version 3.0.3 ?



Thanks!

Did u clear the cache

There was nothing in the cache folder and I cleared the var/cache/



I also cleared the cache in Chrome and refreshed the page…

Ok it worked… I made changes on the wrong file.



The correct one is: stores/1/skins/basic/customer/common_templates/product_data.tpl