project_material - TV с множественным вводом
{set $material = $_modx->resource.project_material | split:'||'}
{foreach $material as $item}
{set $filter[] = 'project_material=='~$item}
{/foreach}
{'!pdoResources' | snippet : [
'parents' => 7,
'limit' => 2,
'tvPrefix' => '',
'tvFilters' => $filter,
'showLog' => 0,
'sortby' => 'RAND()',
'includeTVs' => 'project_image,project_price,project_area,project_material,project_size,project_bedrooms,project_bathrooms,location',
'tpl' => '@FILE chunks/projects/project.tpl',
]}