{extends 'template:1'} {block 'entry-content'} {include 'caption.item'} {set $categories = '!pdoResources' | snippet : [ 'parents' => $doc.id, 'includeContent' => 1, 'templates' => 37, 'sortby' => 'menuindex', 'sortdir' => 'asc', 'tpl' => 'tpl.category.item', 'tvPrefix' => '', 'includeTVs' => 'pagetitle__de', 'showLog' => 0, 'limit' => 0, 'depth' => 0, 'where' => '{ "class_key:=" : "MiniShop3\\Model\\msCategory" }' ]} {if $categories?}
{if ($_modx->resource.id == 17) || ($_modx->resource.parent == 17) } {include 'block.eXtraCategoryIntro'} {/if} {if ($_modx->resource.id == 170) } {include 'block.eXtraCategoryUltrasonicMetalTestingIntro'} {/if} {$categories}
{else}
{if ($_modx->resource.id == 17) || ($_modx->resource.parent == 177777) } {include 'block.eXtraCategoryIntro'} {/if} {if ($_modx->resource.id == 21) || ($_modx->resource.parent == 21) } {include 'block.eXtraCategoryUltrasonicMetalTestingIntro'} {/if}
{if ($_modx->resource.id == 21) } {'msProducts' | snippet : [ 'parents' => '21, 171', 'includeContent' => 1, 'tpl' => 'tpl.product.item', 'sortby' => 'menuindex', 'sortdir' => 'asc' 'includeThumbs'=>'small,big,medium', 'tvPrefix' => 0, 'includeTVs' => 'pagetitle__de', 'limit' => 0 ]} {else} {'msProducts' | snippet : [ 'parents' => $doc.id, 'includeContent' => 1, 'tpl' => 'tpl.product.item', 'resources' => '-209,-211', 'sortby' => 'menuindex', 'sortdir' => 'asc' 'includeThumbs'=>'small,big,medium', 'tvPrefix' => 0, 'includeTVs' => 'pagetitle__de', 'limit' => 0 ]} {/if}
{/if} {include 'block.got_question'} {/block}