How can i change the display lenght of products

What do i have to edit for display the full name of the product.
Photo for example: http://imgur.com/0mGuMJ2 .
 
Thank You!
 

1 answer

Profile photo of Ziven Staff 100280.00 $tone November 24, 2014
Public

Hi Pierre,
Please go to the file: app\design\frontend\default\jm_book\template\joomlart\jmproducts\list.phtml at line 109 -> 114 and change the code to number you want show.

<?php 
if (strlen($_product->getName()) > 20) :
echo strip_tags(substr($_product->getName(), 0, 15)).'...';
else :
echo $_product->getName();
endif;
?>

Best regards,
Ziven.
 
 

#1

Please login or Register to Submit Answer

Written By

Comments