切换导航条
此项目
正在载入...
登录
何书鹏
/
anttest
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
何书鹏
4 years ago
提交
92197f4f8a4b69490c3d2951b5f3f3100333085b
1 个父辈
1663c55b
拼团代码完善
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
addons/shopro/model/Goods.php
addons/shopro/model/Goods.php
查看文件 @
92197f4
...
...
@@ -45,6 +45,7 @@ class Goods extends Model
extract
(
$params
);
$where
=
[
'status'
=>
'up'
,
'id'
=>
[
'>'
,
1
],
//现把ID为1的商品固定作为海报商品
];
//排序字段
if
(
isset
(
$order
)
&&
$order
!==
''
)
{
...
...
@@ -475,6 +476,7 @@ class Goods extends Model
$new_sku_price
[
$s
]
=
$k
;
$new_sku_price
[
$s
][
'stock'
]
=
0
;
$new_sku_price
[
$s
][
'sales'
]
=
0
;
$new_sku_price
[
$s
][
'groupon_price'
]
=
$k
[
'price'
];
foreach
(
$activity_goods_sku_price
as
$c
)
{
if
(
$k
[
'id'
]
==
$c
[
'sku_price_id'
])
{
// 采用活动的 规格内容
...
...
请
注册
或
登录
后发表评论