И вот так можно:
{assign var=params value=[ "parents" => $item.id, "tpl" => "menuRowTpl2", "useSmarty" => true, "where" => '{"template:in":[3,4,8]}' ]} {snippet name=getProducts params=$params parse=true}
{assign var=params value=[ "parents" => $item.id, "tpl" => "menuRowTpl2", "useSmarty" => true, "where" => '{"template:in":[3,4,8]}' ]} {snippet name=getProducts params=$params parse=true}