Vehicle
Custom / quick filters
5 min
besides default filters, you can add your custom filters with needed filtering parameters custom filters will always be displayed above the defaults set up go to the cms — move to the “website > quick filters” definition create a new entity or open an existing entity available properties for set up multilanguage title — block title for every submitted language enabled? will the current block be displayed on the public site order displaying queue for several blocks quick filters can store multiple filters you can add existing filters or add a new one multilanguage title filter title for every submitted language order a queue of filters if they count more than one icon type icon which displays for this filter, if you do not want to fill this property, the filter will be displayed like the checkbox find available icons you can here https //fontawesome com/icons query you can use different operators to achieve different goals is / is not text comparison (case ignored) empty / not empty logical operator equals / not equals strong comparison (case sensitive) contains / not contains check if field contains substring (case ignored) gt / gte numbers comparison ( g reater t han / g reater t han or e qual) lt / lte numbers comparison ( l ess t han / l ess t han or e qual) examples of query price greater than 10000 { data 10000, field 'computedprice', operator 'gt', } any model excluding "golf" { data 'golf', field 'productline title', operator 'is not', } complex query also you can use few filters with some condition in one query in this case you will need to use next structure { filters \[ ], condition '\<and / or>' } for example you would like to filter cars with kilometrage >= 1000 and <= 10 000 { filters \[ { data 1000, field 'kilometrage', operator 'gte', }, { data 10000, field 'kilometrage', operator 'lte', }, ], condition ' and ', } another example, you want to filter cars with red or black color { filters \[ { data 'red', field 'color title', operator 'is', }, { data black, field 'color title', operator 'is', }, ], condition ' or ', }