Подскажи как
{$_modx->runSnippet('!mFilter2', [
'limit' => 21,
'element' => 'msProducts',
'tpl' => 'tpl.productItem',
'depth' => 2,
'sortby' => '{ "parent":"ASC", "menuindex": "ASC" }',
'toSeparatePlaceholders' => 'goods.',
'showEmptyFilters' => 1,
'suggestions' => 1,
'aliases' => '
ms|price==price,
ms|field_type==product
',
'filters' => '
ms|price:number,
ms|field_type
',
'tplFilter.outer.price' => 'tpl.filter.slider',
'tplFilter.row.price' => 'tpl.filter.number',
'tplFilter.outer.product' => 'tpl.filter.outer',
'tplFilter.row.product' => 'tpl.filter.checkbox',
'showLog' => 0,
'leftJoin' => '{
"localizator" : {
"class" : "localizatorContent",
"alias" : "localizator",
"on" : "localizator.resource_id = msProduct.id"
}
}',
'select' => '{ "localizator" : "msProduct.*, localizator.*, msProduct.id" }',
'where' => '{ "localizator.key" : "' ~ ('localizator_key' | option) ~ '"}',
])}