A
A
Artem2016-04-06 13:13:22
opencart
Artem, 2016-04-06 13:13:22

Displaying subcategories without parent Opencart 2?

Hello, I want to display only the subcategories of the parent on the product page,
febed9b4458d4266a3245094556cdfdb.jpg
I can’t find anything similar on the forums, tell me what you can think of, thanks.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
web-mechanic, 2016-04-09
@amfetamine

pass the id of the category to the $this->model_catalog_category->getCategories() method, and get its child sections, which you will display later where you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question