Answer the question
In order to leave comments, you need to log in
How to properly filter json?
The site has implemented categories for product cards using TV. The categories are stored in possible TV values.
Can you tell me how to correctly display the category I need on the page? I am using the &where parameter for getResources. Code example: !getResources?
&parents=`2`
&limit=`0`
&includeTVs=`class`
&processTVs=`class`
&tpl=`mobileShowCard`
&includeTVs=`class`
&where=`{"class:=":"roses","OR:class:= ":"middle"}`
If I write &where, no cards are displayed. if I do not specify &where, then the cards are displayed, but without filtering. tell me how to be?
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