Answer the question
In order to leave comments, you need to log in
How to filter by TV in msProducts (MODX Revo)?
Hello!
How to prescribe filtering by TV, if the condition "is not equal" is required? (the idea is that you need a field that allows you to exclude from the display certain elements that have the "Do not display on the main" checkbox checked)
In the TV settings, in the "Possible values" field, I wrote this: Do not display on the main == 1
if write like this:
&tvFilters= `show_index === 1`
, then only the excluded element is displayed (the filter works)
Answer the question
In order to leave comments, you need to log in
For such a task, IMHO, it is better to create a TV like "List (single choice)" and then there will be no such dances.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question