elcabele Posted February 6, 2012 Share Posted February 6, 2012 I put a long description in category and i want to move it after the product list . How can i change this. You can see here the long description http://panaauto.net/bg/9-akumulatori Thanks in advance ! Link to comment Share on other sites More sharing options...
MrBaseball34 Posted February 6, 2012 Share Posted February 6, 2012 in category.tpl, find this code: {if $category->description} <div class="cat_desc">{$category->description}</div> {/if} Move it to above the last line in the template, like this: {if $products} {include file="$tpl_dir./product-compare.tpl"} {include file="$tpl_dir./product-sort.tpl"} {include file="$tpl_dir./product-list.tpl" products=$products} {include file="$tpl_dir./product-compare.tpl"} {include file="$tpl_dir./pagination.tpl"} {elseif !isset($subcategories)} <p class="warning">{l s='There are no products in this category.'}</p> {/if} {elseif $category->id} <p class="warning">{l s='This category is currently unavailable.'}</p> {/if} {if $category->description} <div class="cat_desc">{$category->description}</div> {/if} {/if} I am using 1.4.4.1 modify to support your template. Link to comment Share on other sites More sharing options...
elcabele Posted February 6, 2012 Author Share Posted February 6, 2012 when i do this in the theme folder(on this file) nothing happens . I am using prestashop 1.4.5.1 may be the problem is because i am using another version of presta not like yours Link to comment Share on other sites More sharing options...
MrBaseball34 Posted February 6, 2012 Share Posted February 6, 2012 Did you clear your cache? Link to comment Share on other sites More sharing options...
elcabele Posted February 7, 2012 Author Share Posted February 7, 2012 yes..but nothing happens Link to comment Share on other sites More sharing options...
MrBaseball34 Posted February 7, 2012 Share Posted February 7, 2012 Maybe your compile settings are turned off. Link to comment Share on other sites More sharing options...
elcabele Posted February 7, 2012 Author Share Posted February 7, 2012 Yes i turn it on and everything is all right . Thank you very much ! Link to comment Share on other sites More sharing options...
Recommended Posts