{{include file="public/header" /}}
商品{{if empty($data['id'])}}添加{{else /}}编辑{{/if}} 返回



1. 当前系统配置的站点类型为[ {{$common_site_type_list[$common_site_type]['name']}} ]

2. 如果商品类型未配置则跟随系统配置的站点类型

3. 当设置的商品类型不在系统设置的站点类型包含的时候,商品加入购物车功能将失效

+上传图片
快捷操作可以快速创建商品SKU,大量节省SKU编辑时间,快捷操作数据不影响SKU数据,仅生成的时候重新覆盖SKU。
+快捷操作 生成规格
{{if !empty($data['spec_base'])}} {{foreach $data.spec_base as $spec_base_key=>$spec_base}} {{/foreach}} {{/if}}
规格名 规格值
× {{if !empty($spec_base['value'])}} {{foreach $spec_base.value as $value}}
×
{{/foreach}} {{/if}}
+添加规格值
+添加规格 高级批量设置

高级批量设置

×
批量操作 ×
{{if !empty($specifications['type'])}} {{foreach $specifications.type as $type_v}} {{/foreach}} {{/if}} {{if empty($specifications['value'])}} {{/if}} {{if !empty($specifications['value'])}} {{foreach $specifications.value as $line_k=>$line_v}} {{foreach $line_v as $v}} {{if isset($v['data_type'])}} {{switch v.data_type}} {{case spec}} {{/case}} {{case base}} {{/case}} {{/switch}} {{/if}} {{/foreach}} {{/foreach}} {{/if}}
× 价格(元) 重量(kg) 规格编码 条形码 原价(元) 扩展 操作
编辑
编辑 {{if $line_k gt 0}} 复制 移除 {{else /}} {{/if}}
+添加一行
    规格名称与规格值保持一致,相同规格名称添加一次即可,重复添加则后面覆盖前面,顺序不影响前端展示效果。 +添加规格图片 列规格自动生成
    {{if !empty($specifications['type'])}} {{foreach $specifications.type as $type}} {{if !empty($type['value'])}} {{foreach $type.value as $spec_key=>$spec}} {{if !empty($spec['images'])}}
    • ×
    +上传图片
  • {{/if}} {{/foreach}} {{/if}} {{/foreach}} {{/if}}
{{include file="public/goodsparamstemplate/tips" /}}
快捷操作
复制配置 清空参数 {{include file="public/goodsparamstemplate/table" /}}
    {{if !empty($data['photo'])}} {{foreach $data.photo as $v}}
  • ×
  • {{/foreach}} {{/if}}
+上传相册
    {{if !empty($data['video'])}}
  • ×
  • {{/if}}
+上传视频
    {{if !empty($data['content_app'])}} {{foreach $data.content_app as $v}}
    • {{if !empty($v['images'])}}
    • ×
    • {{/if}}
    +上传图片
    删除 拖拽排序
  • {{/foreach}} {{/if}}
+添加手机详情
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
plugins_view_admin_goods_save
{{/if}} {{if !empty($plugins_view_admin_goods_save_data) and is_array($plugins_view_admin_goods_save_data)}} {{foreach $plugins_view_admin_goods_save_data as $hook}} {{if is_string($hook) or is_int($hook)}} {{$hook|raw}} {{/if}} {{/foreach}} {{else /}} {{include file="public/not_data" /}} {{/if}}
{{include file="lib/seo" /}}

规格扩展数据

×
{{if !empty($goods_specifications_extends) and is_array($goods_specifications_extends)}} {{foreach $goods_specifications_extends as $v}}
{{if !empty($v['desc'])}} {{$v.desc}} {{/if}} {{if !empty($v['tips'])}}

{{$v.tips|raw}}

{{/if}} {{if !empty($v['element'])}} {{foreach $v.element as $element}} {{if !empty($element['name'])}}
{{if !empty($element['title']) or !empty($element['desc'])}} {{/if}} {{switch element.element}} {{case input}} {{if isset($element['type'])}} {{if in_array($element['type'], ['radio', 'checkbox']) and !empty($element['element_data']) and is_array($element['element_data'])}} {{foreach $element.element_data as $element_data_key=>$element_data}} {{/foreach}} {{else /}} {{/if}} {{else /}}

element input-type 配置有误

{{/if}} {{/case}} {{case select}} {{if !empty($element['element_data']) and is_array($element['element_data'])}} {{/if}} {{/case}} {{case textarea}} {{/case}} {{/switch}}
{{else /}}

element form-name 配置有误

{{/if}} {{/foreach}} {{/if}}
{{/foreach}}
{{else /}} {{include file="public/not_data" /}} {{/if}}
{{include file="public/footer" /}}