{if $item->category.typeId == $item->layoutCustom} {include file = $item->headerTemplate} {$item->category.pageContent} {elseif $item->category.typeId == $item->layoutStandard} {include file = $item->headerTemplate}

Pricelist: {$item->category.title}

{$item->category.priceList}

Available Shapes

{$item->category.availableShapes}

Available Background Colors

{foreach from = $item->category.colors item = color name = color}
{$color.title}
{if $smarty.foreach.color.iteration % 6 == 0}
{/if} {/foreach}
{else} {include file = $item->headerTemplate}
{if $item->list|@count > 0}
{if $item->category.sizes|@count > 1} {* list grouped by shape (type A)*} {include file='ECommerce/Product/list-a.tpl' item=$item} {else} {* list grouped by size (type B)*} {include file='ECommerce/Product/list-b.tpl' item=$item} {/if}
{/if}
{/if}