A
A
Alexey Stratiy2018-06-02 10:38:10
opencart
Alexey Stratiy, 2018-06-02 10:38:10

Output description in category without products Opencart 2.3?

Pamagity! I've been digging for two days now, I can't solve the problem. There is a category, subcategories in it, I do not display goods in the mother. And while the description is not displayed, but it is. As soon as I reflect at least one product, they appear.
I understand you need to look somewhere in the controller? Or is it still in the template?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zoozag, 2018-06-04
@zoozag

I do not display goods in the mother

In the controller, in $filter_data, which for products you need to add 'filter_sub_category' => true
And look at the template here. Most likely you have a description displayed somewhere inside the if ($products) {} condition

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question