Page 1 of 1

How to hide - Refine search

Posted: Fri May 01, 2015 1:52 am
by Slayss
Hello to all,

I use OpenCart 2.0.1.1 version.

I would like to ask, how could I hide Refine search or to disable it ?

I have read about it, but it was related to 1.5 version.

It's a bit annoying to showing up just above the products or side of them, so far :)

Re: How to hide - Refine search

Posted: Fri May 01, 2015 11:55 am
by viethemes
You can open file catalog\view\theme\default\template\product\category.tpl, find

Code: Select all

<?php if (count($categories) <= 5) { ?>
and add this code before it

Code: Select all

<?php $categories = array(); ?>

Re: How to hide - Refine search

Posted: Sun May 03, 2015 3:18 am
by Slayss
Hello Viethemes,

Thanks for Your respond!

I added this code, but Refine Search is still there.

P.S. Before to add this code, I think, I have deleted - Refine Search from Extensions > Modules, but as I said, even after deleted and added code, Refine Search it still there.

http://angelgruev.com/index.php?route=p ... ry&path=75

Re: How to hide - Refine search

Posted: Sun May 03, 2015 11:40 pm
by viethemes
Could you attach file catalog/view/theme/{your_theme}/template/product/category.tpl here, so we can take a look at it?
It is not the same as default theme.

Re: How to hide - Refine search

Posted: Mon May 04, 2015 3:22 am
by Slayss
viethemes wrote:Could you attach file catalog/view/theme/{your_theme}/template/product/category.tpl here, so we can take a look at it?
It is not the same as default theme.
Hello, Thanks again!

I edited this time in "my theme" instead "default" and now, it's working!
Thanks!

Could you tell me, please, how could I hide, text "Refine Search".

http://angelgruev.com/index.php?route=p ... ry&path=75

Re: How to hide - Refine search

Posted: Tue May 05, 2015 12:15 am
by viethemes
You can edit file catalog\view\theme\{your_theme}\template\product\category.tpl,
find

Code: Select all

<h3><?php echo $text_refine; ?></h3>
and remove it.

Re: How to hide - Refine search

Posted: Tue May 05, 2015 3:33 am
by Slayss
viethemes wrote:You can edit file catalog\view\theme\{your_theme}\template\product\category.tpl,
find

Code: Select all

<h3><?php echo $text_refine; ?></h3>
and remove it.
Hello Viethemes,
Thank you very much!

Re: How to hide - Refine search

Posted: Tue May 05, 2015 10:48 pm
by viethemes
You are welcome :)

Re: How to hide - Refine search

Posted: Sun Sep 06, 2015 6:41 pm
by x3mjsh
Hi,

I also have this issue, but nothing happens when I paste the code on my category.tpl page. I'm using Minimo theme from Pavo Themes.

Re: How to hide - Refine search

Posted: Sun Sep 06, 2015 9:37 pm
by samsotiriadis
I have added the line of code before it but its still there...
attached the file

Re: How to hide - Refine search

Posted: Sun Sep 06, 2015 11:16 pm
by viethemes
Because your theme and the default theme are different, the above modification can not apply to your theme.
Could you provide your site URL, so we can take a look at it closer?

Re: How to hide - Refine search

Posted: Sun Sep 06, 2015 11:20 pm
by samsotiriadis
Silly me, i forgot to add it before.
here it is - www.cottoncandy.gr

thanks in advance

Re: How to hide - Refine search

Posted: Mon Sep 07, 2015 10:07 pm
by viethemes
I got this error when accessing to the search page in your store: http://prntscr.com/8dmgcl

Re: How to hide - Refine search

Posted: Tue Sep 08, 2015 5:56 pm
by samsotiriadis
some devs were working on it hence the error.
whenever you can please check again.

thanks in advance!