{template '_header'}
{ifp 'goods.add'} 添加商品 {/if}

商品管理

{if count($list)>0} {if $goodsfrom!='cycle'} {/if} {loop $list $item} {if $goodsfrom!='cycle'} {/if} {/loop}
排序 商品   价格 库存 销量状态操作
{ifp 'goods.edit'} {$item['merchdisplayorder']} {else} {$item['displayorder']} {/if} {if !empty($category[$item['pcate']])} [{$category[$item['pcate']]['name']}] {/if} {if !empty($category[$item['ccate']])} [{$category[$item['ccate']]['name']}] {/if} {if !empty($category[$item['tcate']]) && intval($shopset['catlevel'])==3} [{$category[$item['tcate']]['name']}] {/if}
{ifp 'goods.edit'} {$item['title']} {else} {$item['title']} {/if}
{if $item['hasoption']==1} {ifp 'goods.edit'} {$item['marketprice']} {else} {$item['marketprice']} {/if} {else} {ifp 'goods.edit'} {$item['marketprice']} {else} {$item['marketprice']} {/if}{/if} {if $item['hasoption']==1} {ifp 'goods.edit'} {$item['total']} {else} {$item['total']} {/if} {else} {ifp 'goods.edit'} {$item['total']} {else} {$item['total']} {/if}{/if} {$item['salesreal']} 1,'id'=>$item['id']))}' data-switch-value1='1|上架|label label-success|{php echo merchUrl('goods/status',array('status'=>0,'id'=>$item['id']))}' {/if} > {if $item['status']==1}上架{else}下架{/if} {ifp 'goods.edit|goods.view'} {ifp 'goods.edit'}编辑{else}查看{/if} {/if} {if $_GPC['goodsfrom']=='cycle'} {ifp 'goods.restore'} 恢复到仓库 {/if} {ifp 'goods.delete1'} 彻底删除 {/if} {else} {ifp 'goods.delete'} 删除 {/if} {/if} {if $_GPC['goodsfrom']!='cycle'} 复制链接 {/if}
'new', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo merchUrl('goods/property',array('type'=>'new','data'=>0,'id'=>$item['id']))}' {/if} >新品 'discount', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo merchUrl('goods/property',array('type'=>'discount','data'=>0,'id'=>$item['id']))}' {/if} >促销 'sendfree', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo merchUrl('goods/property',array('type'=>'sendfree','data'=>0,'id'=>$item['id']))}' {/if} >包邮 'time', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo merchUrl('goods/property',array('type'=>'time','data'=>0,'id'=>$item['id']))}' {/if} >限时卖
{$pager} {else}
暂时没有任何商品!
{/if} {template '_footer'}