Is there a way to increase the character limit for product names in grid view? Thank you!
1 answer
Hope this can help.
Go to the app\design\frontend\default\jm_sportsgeartemplate \catalog\product\list.phtml file and find:
HTML Code:
<a title="<?php echo $this->htmlEscape($_product->getName()) ?>" href="<?php echo $_product->getProductUrl() ?>"> <?php if (strlen($_product->getName()) > 25) : echo strip_tags(substr($_product->getName(), 0, 20)).'...'; else : echo $_product->getName(); endif; ?> </a>
You could replace those 20 and 25 number with greater values at your choice.