catalog/view/theme/default/template/product/category.twig, line 28
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
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 %}
{% if categories|length <= 1 %}
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
<h3>{{ text_refine }}</h3>
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 %}
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
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
And for you info, is this module
https://www.opencart.com/index.php?rout ... n_id=29963
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
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 helpxxvirusxx wrote: ↑Fri Apr 27, 2018 4:53 pmLine 28 is this:Comment or remove and will not show Refine text when press on category...Code: Select all
<h3>{{ text_refine }}</h3>
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 %}
Did you cleared Theme Cache, SASS Cache?
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
So that`s why...
Try to find correct code
Try to find correct code
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: No registered users and 100 guests