Answer the question
In order to leave comments, you need to log in
[[+content_image]]
How to filter resources via tv-parameter in getResources?
Hello.
It is necessary to filter resources by specifying the value of the TV parameter in the request condition. But the value of the tv-parameter can be a comma-separated list.
[[pdoResources?
&tpl=`table-analogi`
&parents=`[[*parent]]`
&includeTVs=`1`
&processTVs=`1`
&where=`{"main_goods:IN" : [[*analog_goods]]}`
&includeTVs=`brand,main_goods,price,title,analog_goods`
&showLog=`1`
&debug=`1`]]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question