Page 1 of 1
how to remove refine search option in opencart 3.x ?please help urgent
Posted: Tue Apr 24, 2018 3:51 pm
by rajatjaiwal
Remove refine search from opencart 3.x
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Wed Apr 25, 2018 12:33 am
by xxvirusxx
catalog/view/theme/default/template/product/category.twig, line 28
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Thu Apr 26, 2018 5:56 pm
by rajatjaiwal
i edited this but still it's visible on the product page i am only able to change the row condition
{% if categories|length <= 1 %}
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Fri Apr 27, 2018 4:53 pm
by xxvirusxx
Line 28 is this:
Comment or remove and will not show Refine text when press on category...
And if you want to remove Refine text and subcategories remove this (lines 27-->51)
Code: Select all
{% if categories %}
<h3>{{ text_refine }}</h3>
{% if categories|length <= 5 %}
<div class="row">
<div class="col-sm-3">
<ul>
{% for category in categories %}
<li><a href="{{ category.href }}">{{ category.name }}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% else %}
<div class="row">{% for category in categories|batch((categories|length / 4)|round(1, 'ceil')) %}
<div class="col-sm-3">
<ul>
{% for child in category %}
<li><a href="{{ child.href }}">{{ child.name }}</a></li>
{% endfor %}
</ul>
</div>
{% endfor %}</div>
<br />
{% endif %}
{% endif %}
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Fri Apr 27, 2018 5:15 pm
by rajatjaiwal
Thanks bro it worked out.
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Fri Apr 27, 2018 5:19 pm
by rajatjaiwal
how to remove this ?
can you please help
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Fri Apr 27, 2018 8:55 pm
by xxvirusxx
Install atached ocmod. Is made to work on oc3 installation
And for you info, is this module
https://www.opencart.com/index.php?rout ... n_id=29963
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Wed Oct 24, 2018 2:53 pm
by kanaksoni85
xxvirusxx wrote: ↑Fri Apr 27, 2018 4:53 pm
Line 28 is this:
Comment or remove and will not show Refine text when press on category...
And if you want to remove Refine text and subcategories remove this (lines 27-->51)
Code: Select all
{% if categories %}
<h3>{{ text_refine }}</h3>
{% if categories|length <= 5 %}
<div class="row">
<div class="col-sm-3">
<ul>
{% for category in categories %}
<li><a href="{{ category.href }}">{{ category.name }}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% else %}
<div class="row">{% for category in categories|batch((categories|length / 4)|round(1, 'ceil')) %}
<div class="col-sm-3">
<ul>
{% for child in category %}
<li><a href="{{ child.href }}">{{ child.name }}</a></li>
{% endfor %}
</ul>
</div>
{% endfor %}</div>
<br />
{% endif %}
{% endif %}
Even I wanted to do this (want to remove Refine Search and categories). I tried this solution but it is not working. I removed lines(27 to 51), I cleared cache from admin side, I even refreshed from modification but nothing happens. It is still showing refine search. Pls help
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Wed Oct 24, 2018 3:04 pm
by xxvirusxx
Did you cleared Theme Cache, SASS Cache?
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Wed Oct 24, 2018 3:12 pm
by kanaksoni85
xxvirusxx wrote: ↑Wed Oct 24, 2018 3:04 pm
Did you cleared Theme Cache, SASS Cache?
Yes I have cleared THEME and SASS cache both.
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Wed Oct 24, 2018 3:15 pm
by xxvirusxx
Default theme?
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Wed Oct 24, 2018 3:56 pm
by kanaksoni85
xxvirusxx wrote: ↑Wed Oct 24, 2018 3:15 pm
Default theme?
No its volga theme
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Wed Oct 24, 2018 4:07 pm
by xxvirusxx
So that`s why...
Try to find correct code
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Mon Jan 14, 2019 4:41 am
by usamamehfooz
i remove it but it still available i have default theme and remove cashe as well
Re: how to remove refine search option in opencart 3.x ?please help urgent
Posted: Wed Feb 13, 2019 5:16 pm
by insurenow
Remove this
<div class="row"> <div class="col-sm-3">
<ul>