{extend name="shop/default/base" /} {block name="resources"} {/block} {block name="main"}

{foreach $goods_category_one as $vo}
- {$vo.category_name}
{/foreach}

{foreach $goods_category_one as $vo}
{$vo.category_name}
{foreach $goods_category_two as $vo2} {if condition="$vo2.pid eq $vo.category_id"}

{$vo2.category_name}
  {foreach $goods_category_three as $vo3} {if condition="$vo3.pid eq $vo2.category_id"} {$vo3.category_name} {/if} {/foreach}

{/if} {/foreach}
{/foreach}
{/block} {block name="javascript"}{/block}