修改收银台商品价格计算
This commit is contained in:
parent
ae0d8dda99
commit
84efa97ed0
@ -882,6 +882,9 @@ class OrderLogic extends BaseLogic
|
|||||||
}
|
}
|
||||||
//开启活动或用户身份为 商户、酒店、食堂 展示成本价(即商户价)
|
//开启活动或用户身份为 商户、酒店、食堂 展示成本价(即商户价)
|
||||||
//目前已修改为 商品分组报价,根据用户组展示对应的价格
|
//目前已修改为 商品分组报价,根据用户组展示对应的价格
|
||||||
|
if ($offActivity == 1) {
|
||||||
|
$price = $product['cost'];
|
||||||
|
} else {
|
||||||
$price = $product['price'];
|
$price = $product['price'];
|
||||||
//单门店活动判断
|
//单门店活动判断
|
||||||
if ($storeId == getenv('ACTIVITY_STORE_ID')) {
|
if ($storeId == getenv('ACTIVITY_STORE_ID')) {
|
||||||
@ -890,6 +893,7 @@ class OrderLogic extends BaseLogic
|
|||||||
$price = $storeBranchPrice;
|
$price = $storeBranchPrice;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if ($offActivity == 0 && $product['top_cate_id'] == 15189 && $user && $user['user_ship'] == 5) {
|
if ($offActivity == 0 && $product['top_cate_id'] == 15189 && $user && $user['user_ship'] == 5) {
|
||||||
$price = $product['cost'];
|
$price = $product['cost'];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user