Answer the question
In order to leave comments, you need to log in
MODx Evo, is it possible to search by MultiTV?
Hello!
Faced such a problem: there is a catalog site for MODx Evo. All positions have a number of parameters (TV), such as article, length, width, weight, etc., and there is one advanced parameter in which arbitrary characteristics are inserted for each position, implemented through MultiTV. Search on the site is implemented through AjaxSearch, and TV values in the search do not work, i.e. this advanced option is not searched.
Empirically, it was found out that the problem is that in its raw form, the TV value looks like a raw JSON array, like:
{"fieldValue":[ ["Коллекция","Europlank"],["Дерево","дуб"],["Количество полос","1-полосный"],["Длина, мм.","2215"],["Ширина, мм.","164"],["Толщина, мм.","13,2"],["Эффект обработки","Тонирование"],["Браширование","да"],["Фаска","нет"],["Дополнительное защитное покрытие","лак Classic"],["Замковая система","T-lock"],["Вариация цвета под воздействием УФ","умеренная"],["Изменение оттенка под воздействием УФ","темнеет"],["Твердость древесины (стандарт - Дуб)","стандарт"],["Коэффициент твердости","3,7"],["Селекция","Рустик"],["Метраж 1 упаковки (кв.м)","1,68"] ],"fieldSettings":{"autoincrement":1}}
Answer the question
In order to leave comments, you need to log in
If I were you, I would write a search snippet.
I think that this method is unacceptable for you.
I see 2 ways:
1) A plugin (as you said) that will write to TV json converted to a string
2) Finish AjaxSearch (crutch)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question