<{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}> <{foreach item=list from=$brand}> <{/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}>:
<{foreach item=slist from=$list.catItem}> <{/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}>
    <{foreach item=list key=num from=$info.list}>
  • class="pr0"<{/if}> >
    <{$list.pname}> <{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"}>