Sumax Posted May 16, 2019 Share Posted May 16, 2019 Hello, I want to make my product names which are on a product list to be longer. They can be even in 2 or more rows. How can I do that? PrestaShop 1.7.3.0 Link to comment Share on other sites More sharing options...
ksaan Posted May 16, 2019 Share Posted May 16, 2019 If I'm not wrong, default max length is 128 characters, right ? Link to comment Share on other sites More sharing options...
MigrationPro Posted May 16, 2019 Share Posted May 16, 2019 you can modify tpl files in root\themes\your_theme\templates\catalog directory for modifying display products Link to comment Share on other sites More sharing options...
Sumax Posted May 17, 2019 Author Share Posted May 17, 2019 I tried to do something with product.tpl and product-list.tpl but it didn't work. It looks like mine is locked at 30. Link to comment Share on other sites More sharing options...
JBW Posted May 17, 2019 Share Posted May 17, 2019 6 hours ago, Sumax said: I tried to do something with product.tpl and product-list.tpl but it didn't work. It looks like mine is locked at 30. What is "something"??? Make sure to clear cache/recomplie theme after template changes. Link to comment Share on other sites More sharing options...
Sumax Posted May 23, 2019 Author Share Posted May 23, 2019 On 5/17/2019 at 2:06 PM, JBW said: What is "something"??? Make sure to clear cache/recomplie theme after template changes. In product.tpl i've changed truncate to higher value Link to comment Share on other sites More sharing options...
JBW Posted May 23, 2019 Share Posted May 23, 2019 Then a recompile should activate the changes Link to comment Share on other sites More sharing options...
Sumax Posted May 23, 2019 Author Share Posted May 23, 2019 I just did it. No changes at all Link to comment Share on other sites More sharing options...
JBW Posted May 23, 2019 Share Posted May 23, 2019 How did you do it? Link to comment Share on other sites More sharing options...
Sumax Posted May 23, 2019 Author Share Posted May 23, 2019 In the backoffice -> advanced -> performance I've forced compilation Link to comment Share on other sites More sharing options...
JBW Posted May 23, 2019 Share Posted May 23, 2019 (edited) This should do it - maybe it helps to manually delete the cache on ftp - 1.7.3. is quite old, in newer versions it's in /var/cache Edited May 23, 2019 by JBW (see edit history) Link to comment Share on other sites More sharing options...
Sumax Posted July 3, 2019 Author Share Posted July 3, 2019 I've literally tried to change each .tpl file on whole ftp and it didnt make any change. I always clear cache after making changes. Do you have any ideas what can I do there? Link to comment Share on other sites More sharing options...
Jcbartola Posted September 10, 2020 Share Posted September 10, 2020 In my case, I could identify what the Profile is for the Product List... I changed the .tpl for that profile and it worked only for Mobile, but not for web. Even when I'm using the same profile for Web, Mobile and Tablet. So I can say that it worked..partially at least. Mobile was a bigger concern for me due to the limited size of the screen. I'll keep digging to see if I can make it work for web. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now