Answer the question
In order to leave comments, you need to log in
Hiding subcategory in main category?
Good afternoon, how to hide the subcategories in the main category, and display the list of goods together?
[[!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
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 questionAsk a Question
731 491 924 answers to any question