Page 1 of 1

Refine search in category layout

Posted: Fri Jun 01, 2012 3:51 am
by kuleszko
Hi when i open my category page i can see category and sub categories in left column (what I set) but also refine search is appear in the middle of page with subcategies. How to remowe refine search text in category layout. Whe I open category i like to see only description and image for this caregory
000.JPG

000.JPG (37 KiB) Viewed 949 times




Thanks for any help

Re: Refine search in category layout

Posted: Fri Jun 01, 2012 4:43 am
by Avvici
In /catalog/controller/product/category.php v1.5.3.1 look for:

Code: Select all

<?php if ($categories) { ?>
  <h2><?php echo $text_refine; ?></h2>
  <div class="category-list">
    <?php if (count($categories) <= 5) { ?>
    <ul>
      <?php foreach ($categories as $category) { ?>
      <li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></li>
      <?php } ?>
    </ul>
    <?php } else { ?>
    <?php for ($i = 0; $i < count($categories);) { ?>
    <ul>
      <?php $j = $i + ceil(count($categories) / 4); ?>
      <?php for (; $i < $j; $i++) { ?>
      <?php if (isset($categories[$i])) { ?>
      <li><a href="<?php echo $categories[$i]['href']; ?>"><?php echo $categories[$i]['name']; ?></a></li>
      <?php } ?>
      <?php } ?>
    </ul>
    <?php } ?>
    <?php } ?>
  </div>
  <?php } ?>
Delete it.

Re: Refine search in category layout

Posted: Sun Jun 17, 2012 9:51 pm
by kuleszko
Thanks

Re: Refine search in category layout

Posted: Thu Jul 26, 2012 1:17 am
by hellreturn
Well this doesn't work for me.. any idea why?

Re: Refine search in category layout

Posted: Tue Sep 11, 2012 4:49 am
by kuleszko
I have 1.5.2.1