### Shop by Category

<{if $categories.cur}>
- <{$categories.cur.base_name}> <{if $categories.cur.son}>
  <{foreach from=$categories.cur.son item=c1}> <{if $c1.base_name}>
  - class="sun_cur"<{/if}>><{$c1.base_name}>
  <{/if}> <{/foreach}>
  <{/if}>
<{else}> <{foreach from=$categories item=list name=category_list key=key}> <{if $list.parent_id == 0 && $list.id >0 && key!='cur' && $list.base_name}>
- class="fold" <{/if}>> <{$list.base_name}> <{if $list.son}>
  <{foreach from=$list.son item=c}> <{if $c.base_name}>
  - class="fold" <{/if}>><{$c.base_name}>
  <{/if}> <{/foreach}>
  <{/if}>
<{/if}> <{/foreach}> <{/if}>

### Narrow by

<{if $search_cond.brands}>

Brand
  ALL
<{foreach from=$search_cond.brands item=list}> <{if $list.base_name}>
  checked="checked" <{/if}>/> <{$list.base_name}>
<{/if}> <{/foreach}>

<{/if}> <{if $search_cond.taglist}>

Tag
  ALL
<{foreach from=$search_cond.taglist item=list}> <{if $list.base_name}>
  checked="checked" <{/if}>/> <{$list.base_name}>
<{/if}> <{/foreach}>

<{/if}> <{foreach from=$search_cond.propertylist.parents item=list}> <{if $list.base_name}>

<{$list.base_name}>
  ALL
<{foreach from=$search_cond.propertylist.childs[$list.id] item=c}> <{if $c.base_name}>
  checked="checked" <{/if}>/> <{$c.base_name}>
<{/if}> <{/foreach}>

<{/if}> <{/foreach}>