{extend name="public/base" /} {block name="style"}
{/block} {block name="main"}
{$parent.name|default=''}
{if condition="!empty($categorys)"}
{volist name="categorys" id="category"}
{if condition="!empty($category.children)"} {volist name="$category.children" id="child"}
{$child.name}
{if condition="!empty($child.products)"}
{volist name="$child.products" id="pro"}
{$pro.name}
{$pro.spu}
{/volist}
{/if}
{/volist} {/if}
{/volist}
{/if}
{/block} {block name="script"}
{/block}