Post by Sm00dE » Wed Apr 11, 2018 2:25 am

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

New member

Posts

Joined
Wed Feb 01, 2012 4:32 am

Post by xxvirusxx » Wed Apr 11, 2018 3:14 am

Edit :

Code: Select all

catalog/view/theme/default/template/product/category.twig
Replace:

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 %}
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..

Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Who is online

Users browsing this forum: No registered users and 9 guests