Hello,
I have question how to remove in Opencart 3.0.2.0 version empty category "Continue" button and text "There are no products to list in this category."
Like here: https://demo.opencart.com/index.php?rou ... path=25_30
Edit :
Replace:
with this:
This can me bade as ocmod/vqmod..
Code: Select all
catalog/view/theme/default/template/product/category.twig
Code: Select all
{% if not categories and not products %}
<p>{{ text_empty }}</p>
<div class="buttons">
<div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div>
</div>
{% endif %}
Code: Select all
<!--{% if not categories and not products %}
<p>{{ text_empty }}</p>
<div class="buttons">
<div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div>
</div>
{% endif %}-->
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Removed "There is no products to list in this category". Thank you @xxvirusxx very much for the solution!xxvirusxx wrote: ↑Wed Apr 11, 2018 3:14 amEdit :Replace:Code: Select all
catalog/view/theme/default/template/product/category.twig
with this:Code: Select all
{% if not categories and not products %} <p>{{ text_empty }}</p> <div class="buttons"> <div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div> </div> {% endif %}
This can me bade as ocmod/vqmod..Code: Select all
<!--{% if not categories and not products %} <p>{{ text_empty }}</p> <div class="buttons"> <div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div> </div> {% endif %}-->
I'm doing this now, but it's having. Conflicts when in responsive mode with my template. Care to share how you did this? And does your way hide it from menus?
v3.0.3.9 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
Who is online
Users browsing this forum: No registered users and 62 guests