Online Office USA Posted January 25, 2012 Share Posted January 25, 2012 Hello. I'm using the Prestashop_new theme and want to increase the short description but cannot locate the truncate that I need to change. When I entered my short description in the BO it threw an error I had exceeded the allotted 400 character. I looked in products_list.tpl and the truncate number there is 220. Where do I find the truncate to adjust? I've looked in what I thought was the right file(s) but no luck. I thought I had seen a post that addressed this issue but can't seem to locate that either. Thanks Link to comment Share on other sites More sharing options...
_matis_ Posted January 25, 2012 Share Posted January 25, 2012 Hello. I'm using the Prestashop_new theme and want to increase the short description but cannot locate the truncate that I need to change. When I entered my short description in the BO it threw an error I had exceeded the allotted 400 character. I looked in products_list.tpl and the truncate number there is 220. Where do I find the truncate to adjust? I've looked in what I thought was the right file(s) but no luck. I thought I had seen a post that addressed this issue but can't seem to locate that either. Thanks to set up max size of the Short description in BO: Preferences -> Products -> Short description max size Then you must change short description's truncate size in tpl files and change them: product-list.tpl product.tpl 1 Link to comment Share on other sites More sharing options...
tdr170 Posted January 25, 2012 Share Posted January 25, 2012 Link to comment Share on other sites More sharing options...
Online Office USA Posted January 25, 2012 Author Share Posted January 25, 2012 to set up max size of the Short description in BO: Preferences -> Products -> Short description max size Then you must change short description's truncate size in tpl files and change them: product-list.tpl product.tpl Outstanding! Thank you! Link to comment Share on other sites More sharing options...
zacha Posted April 27, 2012 Share Posted April 27, 2012 Just another question. I've got in my Presta product link in category-list like this one: Naklejka dekoracyjna wzór 1 | Naklejki dekoracyjne lub szablony Product link (product name) code is: <h5><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|truncate:20:'...'|escape:'htmlall':'UTF-8'}</a></h5> This, what I try to do is showing name of the product - but only name text before "|" How can I solve, cut this name? Link to comment Share on other sites More sharing options...
jincmd Posted December 30, 2012 Share Posted December 30, 2012 to set up max size of the Short description in BO: Preferences -> Products -> Short description max size Then you must change short description's truncate size in tpl files and change them: product-list.tpl product.tpl Could you tell me where to find product-list.tpl and product.tpl? ty Link to comment Share on other sites More sharing options...
_matis_ Posted January 4, 2013 Share Posted January 4, 2013 Could you tell me where to find product-list.tpl and product.tpl? ty Both files are in themes/your_theme_name/ folder Link to comment Share on other sites More sharing options...
AnilaN Posted March 20, 2013 Share Posted March 20, 2013 Thanks _matis_! Link to comment Share on other sites More sharing options...
janditlev Posted September 13, 2014 Share Posted September 13, 2014 How do you do this in PS 1.6.0.9 - standard theme. I have changed then truncate length in product-list.tbl, but this does not help. Jan Link to comment Share on other sites More sharing options...
frank_jarle Posted September 13, 2014 Share Posted September 13, 2014 How do you do this in PS 1.6.0.9 - standard theme. I have changed then truncate length in product-list.tbl, but this does not help. Jan Then did you change in BO too? Link to comment Share on other sites More sharing options...
thx2012 Posted March 22, 2019 Share Posted March 22, 2019 I'm using v1.6.1.17 and regardless of what value I enter into the BO, Preferences > Products > Max size of short description, it only displays up to 400 on my product pages. I've adjusted in BO as per image and both files to reflect new value (950). Nothing changes. product-list.tpl product.tpl I even went into PHPmYAdmin and adjusted ps_product > Columns > reference to reflect the same value of 950. Still product page only displays max 400 characters. I've turned off Cache, Force compilation and Clear Cache.. Also, I've cleared my browser cache and even accessed via different machine/browser; no prevail. Any suggestions on how to adjust my short description character count to 950? 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