lamorgaine Posted February 22, 2015 Share Posted February 22, 2015 Hi all, I would like to ask if anyone can help me with the category description lenght. I need to have more characters then it is. I want to show whole description without any "more" button. How to do it? Thank you Lamorgaine Link to comment Share on other sites More sharing options...
Paulito Posted February 22, 2015 Share Posted February 22, 2015 Hello Using PS 1.6.0.8 You can change the truncate value in your category.tpl file by going to: public_html/Your Shop/themes/default-bootstrap/category.tpl and around line 59 you should see: {if Tools::strlen($category->description) > 350} (Change this number) <div id="category_description_short" class="rte">{$description_short}</div> <div id="category_description_full" class="unvisible rte">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} Before http://screencast.com/t/pPrsaX9PJ After http://screencast.com/t/7bn7pIx8xxi Looks a little odd though if the text is too long Paul Link to comment Share on other sites More sharing options...
lamorgaine Posted February 22, 2015 Author Share Posted February 22, 2015 Hi Paul, thank you for your reply. Thats exactly what I did but no change . Any sugestion? lamorgaine Link to comment Share on other sites More sharing options...
Paulito Posted February 22, 2015 Share Posted February 22, 2015 Hello Their are two instances of this code, another around line 36, you changed the correct line? You have also emptied cache and tried Force Compilation? Paul Link to comment Share on other sites More sharing options...
cille5 Posted February 22, 2015 Share Posted February 22, 2015 I also tried that yesterday. Didn't work. I removed category title and product quantity. succesfully. So I know it ain't cache problem. Link to comment Share on other sites More sharing options...
lamorgaine Posted February 22, 2015 Author Share Posted February 22, 2015 Hi, yes I did both and dont see any changes. Dont really understand whats going on why it doesnt show up. Link to comment Share on other sites More sharing options...
vero7 Posted May 2, 2015 Share Posted May 2, 2015 Hello, I've the same problem. PS 1.6.0.11 theme: default-bootstrap Any news? thank you 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