Page 1 of 1

Hide / remove the advanced in category template

Posted: Thu Feb 07, 2013 9:06 pm
by bendict
How do i hide the advanced search that is displayed in my category template? It doesn't seem to appear anywhere in the template ?

please view attached image

Re: Hide / remove the advanced in category template

Posted: Fri Feb 08, 2013 2:30 pm
by ChetanCx
in /catalog/view/theme/your_theme/template/product/category.tpl
find

Code: Select all

<?php if ($categories) { ?>
just before it add this line

Code: Select all

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

Re: Hide / remove the advanced in category template

Posted: Wed Feb 20, 2013 6:55 am
by bendict
that code is nowhere to be found in category.tpl

Re: Hide / remove the advanced in category template

Posted: Thu Feb 21, 2013 3:21 am
by ChetanCx
bendict wrote:that code is nowhere to be found in category.tpl
oops copy paste problem , edited my original post, check it ;D ;D

Re: Hide / remove the advanced in category template

Posted: Fri Feb 22, 2013 5:29 pm
by bendict
ChetanCx wrote:
bendict wrote:that code is nowhere to be found in category.tpl
oops copy paste problem , edited my original post, check it ;D ;D
Perfect - this works excellent ;D

Do you think you can help me on this post: http://forum.opencart.com/viewtopic.php?f=23&t=95919 ???

Re: Hide / remove the advanced in category template

Posted: Fri Jun 07, 2013 3:01 pm
by vanthom
So have you hide/remove advanced search in category template?

Re: Hide / remove the advanced in category template

Posted: Fri Jun 07, 2013 3:26 pm
by bendict
exactly! ;)