{php $bootstrap_type = 3;} {if empty($_W['isajax'])} {template 'header'}
{if $_GPC['isnew']==1}新品推荐{/if} {if $_GPC['ishot']==1}热卖商品{/if} {if $_GPC['isdiscount']==1}折扣商品{/if} {if $_GPC['istime']==1}限时卖{/if} {if $_GPC['pcate']} - {$category[$_GPC['pcate']]['name']}{/if} {if $_GPC['ccate']} - {$children[$_GPC['pcate']][$_GPC['ccate']]['name']}{/if} {$carttotal}

{loop $category $item}
- {$item['name']} {loop $children[$item['id']] $child} {$child['name']} {/loop}
{/loop}

{if $_GPC['isnew']==1}{/if} {if $_GPC['ishot']==1}{/if} {if $_GPC['isdiscount']==1}{/if} {if $_GPC['istime']==1} {/if}
按时间 {if $sort==0}{if $sortb0=="desc"}{else}{/if}{/if}
按销量 {if $sort==1}{if $sortb1=="desc"}{else}{/if}{/if}
按人气 {if $sort==2}{if $sortb2=="desc"}{else}{/if}{/if}
按价格 {if $sort==3}{if $sortb3=="desc"}{else}{/if}{/if}
{if $_GPC['isnew']==1}新品推荐{/if} {if $_GPC['ishot']==1}热卖商品{/if} {if $_GPC['isdiscount']==1}折扣商品{/if} {if $_GPC['istime']==1}限时卖{/if} 共{$total}种
{/if} {loop $list $item}
{$item['title']}{if $item['type'] == '2'}(虚拟){/if} {if $item['istime']==1} {$item['timelaststr']}
{/if}
已售{$item['sales']}件 {$item['marketprice']}元 {if $item['unit']} / {$item['unit']}{/if}
{/loop} {if empty($_W['isajax'])}
浏览更多商品
{template 'footer'} {template 'footerbar'} {/if}