{extends 'template:Базовый'} {block 'main'}
{insert 'tpl.breadcrumbs'}
{insert 'tpl.catalog.aside'}
{block 'new'}{/block} {if 'cultureKey' | config == 'ru'} {set $catalogID = '4'} {else} {set $catalogID = 'BabelTranslation' | snippet : [ 'resourceId' => 4, 'contextKey' => 'cultureKey' | config ]} {/if} {'!mFilter2' | snippet : [ 'element' => 'pdoResources', 'parents' => $new == 1 ? $catalogID : $_modx->resource.id, 'depth' => 10, 'sort' => 'resource|menuindex:asc', 'limit' => 9, 'tpls' => 'tpl.product.item', 'includeContent' => 0, 'includeTVs' => 'image,new', 'processTVs' => 'image', 'tvPrefix' => '', 'filters' => ' tv|filling_dried_fruits:default, tv|filling_candied_fruits:default, tv|filling_berries:default, tv|filling_nuts:default, tv|filling_other:default, tv|package:default, tv|weight:default, tv|appointment:default ', 'templates' => 5, 'tvFilters' => $new === 1 ? 'new===1' : '', 'tplOuter' => 'tpl.filter.outer', 'tplFilter.outer.default' => 'tpl.filter.outer.checkbox', 'tplFilter.row.default' => 'tpl.filter.checkbox', 'tplPage' => '@INLINE {$pageNo}', 'tplPageActive' => '@INLINE {$pageNo}', 'tplPageWrapper' => '@INLINE {$prev}{$pages}{$next}', 'tplPageNext' => '@INLINE ', 'tplPagePrev' => '@INLINE ', 'tplPageNextEmpty' => '@INLINE ' 'tplPagePrevEmpty' => '@INLINE ' ]}
{insert 'tpl.getPrice.button'}
{/block}