{template 'common/header'} {if $operation == 'post'}

添加商品

分类
一个字,例如,份,只,个,两,瓶。
最多2个字,例如:特价,推荐,新品等。可为空
   
商品图片
选择图片*
    {loop $item['thumbArr'] $row}
  • {/loop}
商品展示图片,第一张默认为商品缩略图(尺寸建议:300*230px)
*
*
当前商品的库存数量,设置-1则表示不限制。
可以虚拟,订单完成后,菜品数量+1,不建议修改
简介
{elseif $operation == 'display'}
{loop $list $item} {/loop}
显示顺序 ID 商品标题 销售价/原价 销售量/库存 属性 操作
{$item['id']} {if !empty($category[$item['pcate']])}[{$category[$item['pcate']]['name']}] {/if}{if !empty($children[$item['pcate']])}[{$children[$item['pcate']][$item['ccate']][1]}] {/if}{$item['title']} {$item['marketprice']}元 / {$item['productprice']}元 {$item['sellnums']}/ {if $item['total']<0}无限{else}{$item['total']}{/if} {if $item['status']}上架{else}下架{/if} {if $item['isindex'] == 1}首页{/if} 编辑  删除
{$pager}
{/if} {template 'common/footer'}