{$_modx->lexicon('search_nothing_found_desc')} - {$_modx->lexicon('leave_your_phone_button')}.
{var $result = '!mSearch2' | snippet : [ 'onlyIndex' => true, 'fields' => "{$mse2_fields | join : ','}", 'returnIds' => 1, 'limit' => 0, 'minQuery' => 2, 'where' => '{"template:IN":[20]}' ] ?: '999999'} {if $_modx->config.cultureKey != 'ua'} {set $products_results = $_modx->runSnippet('!mFilter2Numberfield', [ 'element' => 'msProducts', 'paginator' => 'pdoPage', 'parents' => 160, 'resources' => "{$result}", 'limit' => 12, 'maxLimit' => 0, 'depth' => 5, 'tplWrapper' => 'tplOutresult', 'tplOuter' => 'tplMfilter2Outer', 'tplFilter.outer.default' => 'tplMfilter2FilterOuter', 'tplFilter.row.default' => 'tplMfilter2FilterCheckbox', 'tplFilter.outer.ms|price' => 'tplMfilter2Slider', 'tplFilter.row.ms|price' => 'tplMfilter2Number', 'aliases' => 'ms|vendor==vendor,resource|parent==parent,'~$_modx->runSnippet('categoryOptionsAlias')~'', 'suggestions' => 1, 'tpls' => 'tplProduct', 'sortby' => '{"Data.availability":"DESC","Data.price":"ASC"}', 'includeThumbs' => 'small,small_mobile', 'includeTVs' => 'video', 'includeContent' => 1, 'filters' => ' ms|price:number, ms|vendor:vendors, msoption|tags, msoption|color, parent:categories, '~$_modx->runSnippet('categoryOptionsSearch')~', ', 'values_delimeter' => '_', 'leftJoin' => '{"localizator" : {"class" : "localizatorContent","alias" : "localizator","on" : "localizator.resource_id = msProduct.id"}}', 'select' => '{ "localizator" : "msProduct.*, localizator.*, msProduct.id" }', 'where' => '{ "localizator.key" : "' ~ ('localizator_key' | option) ~ '"}', 'class' => 'msProduct', 'tplPageWrapper' => '@INLINE
{$_modx->lexicon('search_nothing_found_desc')} - {$_modx->lexicon('leave_your_phone_button')}.