- {$first['name']} {query:name=category where=parent_id eq $first[id] order=sort asc item=$second items=$seconds}
- {$second['name']} {/query}
推荐
-
{foreach:items=$pro_list}
-
{$item['name']}{$item['description']}
¥{$item['sell_price']}
¥{$item['market_price']}
{/foreach}
{$this->catRow['name']}
{query:name= category_extend as ca
join = left join goods as go on ca.goods_id eq go.id left join brand as b on b.id eq go.brand_id
where = ca.category_id in ( $this->childId ) and go.is_del eq 0 and go.brand_id neq 0
fields = DISTINCT b.id,b.name
limit = 10
items = $brandList /}
{if:$brandList}
- 品牌:
- 不限 {foreach:items = $brandList} {$item['name']} {/foreach}
- {$item['name']}:
- 不限 {set:$attrVal = explode(',',$item['value']);} {foreach:items=$attrVal item=$attr} {$attr} {/foreach}
排序:
{set:$goodsObj = search_goods::find(array('category_extend' => $this->childId));$resultData = $goodsObj->find()}
{if:$resultData}
{set:$listSize = search_goods::getListSize(IFilter::act(IReq::get('show_type')))}
-
{foreach:items=search_goods::getOrderType()}
{set:$next = search_goods::getOrderValue($key)}
- {$item} {/foreach}
-
{foreach:items=$resultData}
-
{$item['name']}总销量:{$item['sale']}( {$item['comments']}人评论 )
¥{$item['sell_price']}¥{$item['market_price']}
{/foreach}
对不起,没有找到相关商品
{/if}