A
A
ART42018-05-31 14:33:39
MODX
ART4, 2018-05-31 14:33:39

Hiding subcategory in main category?

Good afternoon, how to hide the subcategories in the main category, and display the list of goods together?
ea65935a49.png

[[!catalogFilter?
    &tpl=`tplCatItem`
    &limit=`9`
    &parents=`12`
    &where=`{"class_key": "msCategory"}`
    &fields=`image,area,floor,garage,price`
]]

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
R
Ruslan, 2018-06-01
@ruslan_aleev

Hello, as I understand it, this is a snippet that basically uses pdoResources, right (here it is - https://webdesign-master.ru/blog/modx/2016-05-03-m...
If it is, then in pdoResources you can specify &hideContainers=`1` , respectively, add this parameter to the parameter array in the snippet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question