sertecpc Posted September 2, 2014 Share Posted September 2, 2014 Hi, Id like to edit the file that limits the characters size for the related products on each articule as you can see in this image: http://puu.sh/bidMJ/dbabeae04f.png As you can see thats on the bottom of each product and its a list of related articules but the names are shortened does anybody know where can I edit the shortness limit so i can show more title thanks Link to comment Share on other sites More sharing options...
S-HAMMANI Posted September 2, 2014 Share Posted September 2, 2014 Hi change truncate value in product-list.tpl line ~105 : {$product.name|truncate:60:'...'|escape:'html':'UTF-8'} Link to comment Share on other sites More sharing options...
vekia Posted September 2, 2014 Share Posted September 2, 2014 /themes/default-bootstrap/modules/productscategory/productscategory.tpl increase truncate value in {$categoryProduct.name|truncate:14:'...'|escape:'html':'UTF-8'} 2 Link to comment Share on other sites More sharing options...
Di360 Posted January 22, 2015 Share Posted January 22, 2015 Any idea to limit the number of related product at bottom. I was trying to modifiy this code but I have no results: {if count($categoryProducts) > 0 && $categoryProducts !== false} I will like to limite the number of related product to 8 in prestashop 1.6 Thank you very much. Link to comment Share on other sites More sharing options...
Recommended Posts