O
O
ololodf2021-07-29 12:28:12
opencart
ololodf, 2021-07-29 12:28:12

How to display category description on category page in ocstore?

Now the site header looks like this:

<div class="row">{{ column_left }}
    {% if column_left and column_right %}
    {% set class = 'col-sm-6' %}
    {% elseif column_left or column_right %}
    {% set class = 'col-sm-8 col-md-9  col-xs-12 colright' %}
    {% else %}
    {% set class = 'col-xs-12' %}
    {% endif %}
    <div id="content" class="{{ class }}">
      <ul class="breadcrumb">
        {% for breadcrumb in breadcrumbs %}
        <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
        {% endfor %}
      </ul>


I can’t figure out how to display the description that I filled out in the admin panel?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
opencartbot, 2021-08-02
@opencartbot

The code is responsible for displaying the category description:
{{ description }}
If there is no such code in the product/category.twig template, add and then update the modifier cache and the twig cache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question