clampdown Posted April 10, 2015 Share Posted April 10, 2015 Hello Does anybody know the URL to display the FULL description when on manufacturer / category pages?For example:Could I link from an external page to a manufacturer page which shows the full description instead of clicking onto the "more" button to display it all? Thanks Link to comment Share on other sites More sharing options...
PascalVG Posted April 12, 2015 Share Posted April 12, 2015 That doesn't exist, but you could just remove the more... if you don't want it. for example in themes/<your theme folder>/category.tpl (Before editing, make backup!!) you have this code: {if $category->description} <div class="cat_desc rte"> {if Tools::strlen($category->description) > 350} <div id="category_description_short">{$description_short}</div> <div id="category_description_full" class="unvisible">{$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} <div>{$category->description}</div> {/if} </div> {/if} Comment out the red code (use {* before and *} after the block you want to comment out, like: {if $category->description} <div class="cat_desc rte"> {* {if Tools::strlen($category->description) > 350} <div id="category_description_short">{$description_short}</div> <div id="category_description_full" class="unvisible">{$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} *} <div>{$category->description}</div> {* {/if} *} </div> {/if} This should give you just the full description. hope this will work for you. If you really need to make it optional, let me know and I will try to think of a way to do it... pascal 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