natebc Posted January 15, 2016 Share Posted January 15, 2016 Hello, Do can I edit the length of product name? I'm using 1.6.0.9 and the theme is: http://themeforest.net/item/supershop-multipurpose-responsive-prestashop-theme/10186257. Natebc Link to comment Share on other sites More sharing options...
im_presto Posted January 15, 2016 Share Posted January 15, 2016 Do you want to increase the title lenght in Db OR you want to truncate the title ? Link to comment Share on other sites More sharing options...
natebc Posted January 15, 2016 Author Share Posted January 15, 2016 Hi im_presto, Yes I would like to increase the title length. I have some titles that are 136 in length. Natebc Link to comment Share on other sites More sharing options...
danplant Posted February 24, 2017 Share Posted February 24, 2017 also need to increase product name because was truncated as follow: <a class="product-name" href="http://www.mysite.com/eshop/category/test.html" title="product name 1234567890ABCDEFGHILMNOPQRSTUVZ" itemprop="url"> product name 123456789... </a> Any help ? Link to comment Share on other sites More sharing options...
danplant Posted February 24, 2017 Share Posted February 24, 2017 Solved as follow: edit product-list.tpl line 118: {$product.name|truncate:45:'...'|escape:'html':'UTF-8'} change 45 to 360 {$product.name|truncate:360:'...'|escape:'html':'UTF-8'} 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