<{if $smarty.get.key}>
全部结果
<{/if}> <{foreach item=list key=key from=$catname}> <{if $key==0 && !$smarty.get.key}>
<{$list|getName}>
<{else}> >
<{$list|getName}>
<{/if}> <{foreachelse}> <{if !$smarty.get.key}>
首页
>
全部商品
<{/if}> <{/foreach}> <{if $smarty.get.key}> > "<{$smarty.get.key}>" <{/if}> <{if $smarty.get.brand}> >
<{$smarty.get.brand}>
<{/if}>
热卖推荐
<{insert name="label" type="product" catid=$smarty.get.id temp="product_list_dl" limit=3}>
促销活动
<{insert name="label" type="news" temp="news_default_list" limit=5}>
<{if $brand && $catfile}>
<{if $smarty.get.brand}> <{$smarty.get.brand}> <{/if}> <{$smarty.get.id|getName}>
- 商品筛选
重置筛选条件
<{if $brand }>
品牌:
<{assign var=b value=$smarty.get.brand}>
class="curr"<{/if}> href="<{$config.weburl}>/?<{$url|replace:"&brand=$b":""}>">不限
<{foreach item=list from=$brand}>
class="curr"<{/if}> href="<{$config.weburl}>/?<{$url|replace:"&brand=$b":""}>&brand=<{$list.name}>"><{$list.name}>
<{/foreach}>
<{/if}> <{foreach item=list key=num from=$catfile}> <{assign var=fieldName value=$list.field}> <{assign var=s value=$smarty.get.$fieldName}>
class="first"<{/if}> >
<{$list.field_name}>:
class="curr"<{/if}> href="<{$config.weburl}>/?<{$url|replace:"&$fieldName=$s":""}>">不限
<{foreach item=slist from=$list.catItem}>
class="curr"<{/if}> href="<{$config.weburl}>/?<{$url|replace:"&$fieldName=$s":""}>&<{$list.field}>=<{$slist.0}>"><{$slist.1}>
<{/foreach}>
<{/foreach}>
<{/if}>
<{assign var=s value=$smarty.get.orderby}>
排序:
class="curr"<{/if}>>
">销量
class="curr<{if $s==4}> down<{else if}> up<{/if}>"<{/if}> >
&orderby=<{if $s==4 }>5<{else $s==5 }>4<{/if}>">价格
class="curr"<{/if}>>
&orderby=3">上架时间
<{$info.pages}>
共
<{$info.count}>
个商品
库存:
<{assign var=s value=$smarty.get.stock}>
class="selected"<{/if}>>
<{if !$s}>&stock=1<{/if}>">
仅显示有货
<{foreach item=list key=num from=$info.list}>
class="pr0"<{/if}> >
<{if $list.simg}>
<{/if}>
<{$list.pname}>
<{$config.money}><{$list.price}>
<{$list.promotion_tips}>
<{$config.company}>
<{/foreach}>
<{$info.page}>
<{if $catname.0}>
<{insert name="label" type="cat" catid=$catname.0 temp="product_list_cat"}>
<{/if}>
销量排行榜
<{insert name="label" type="product" catid=$catname.0 limit=5 temp="product_list_1"}>