{catpos($_GET['id'])}

{$category['top_parentid']['name']}
{hd:goods tagfile="category" catid="$category[top_parentid][id]" method="lists"} {loop $data $r} {if $_GET[id] == $r[id] || $r[id] == $category[parent_id] || $id == $category[top_parentid][id]}
{$r[name]}
{hd:goods tagfile="category" catid="$r[id]" method="lists"} {loop $data $rr}
{$rr['name']}
{/loop} {/hd}
{else}
{$r[name]}
{hd:goods tagfile="category" catid="$r[id]" method="lists"} {loop $data $rr}
{$rr['name']}
{/loop} {/hd}
{/if} {/loop} {/hd}
看了又看
{hd:goods tagfile="goods" method="lists" num="6" order="rand()"} {loop $data $r}

{/loop} {/hd}
{hd:ads tagfile="ads" method="lists" position="2" num="1" order="rand()"} {if ($data['list'])}
{loop $data['list'] $r} {if empty($r['content'])} {else} {/if} {/loop}
{/if} {/hd} {hook/lists_left}
{hd:goods tagfile="goods" method="lists" catid="$category[id]" num="4" statusext="4"} {if count($data) > 0}
推荐商品
{/if} {/hd}
{$category['name']}-商品筛选重置筛选
{if !empty($brands)} {/if} {if $grades} {/if} {hd:goods method="lists" tagfile="type" catid='$_GET[id]'} {loop $data $k $r} {if $r[search] == 1} {/if} {/loop} {/hd} {hd:goods method="specs" tagfile="type" catid='$_GET[id]'} {loop $data $k $r} {/loop} {/hd}
排序方式:
综合
销量{if $result['sort'] == 'sale'}{/if}
价格{if $result['sort'] == 'shop_price'}{if $result['_by'] == 'asc'}{else}{/if}{/if}
人气{if $result['sort'] == 'hits'}{/if}
{hd:goods tagfile="goods" method="page" catid="$_GET[id]" brand_id="$result[brand_id]" order="$result[order]" goods_ids="$result[_goods_ids]" num="12" price="$result[price]" page="$_GET[page]" show_switch="$result[show_switch]"} {$data['page']} {/hd}
{hook/lists_order}
    {hd:goods tagfile="goods" method="lists" catid="$_GET[id]" brand_id="$result[brand_id]" order="$result[order]" goods_ids="$result[_goods_ids]" num="12" price="$result[price]" show_switch="$result[show_switch]" page="$_GET[page]"} {loop $data $r}
  • {if $r['status_ext'] == 1}
    {elseif $r['status_ext'] == 2}
    {elseif $r['status_ext'] == 3}
    {/if}
    {if $r[number] > 0} 加入购物车 {else} 商品已售罄 {/if} {if is_favorite($member['id'],$r['sku_id'])} 已收藏 {else} 收藏商品 {/if}
  • {/loop} {/hd}