feat: 修改购物车列表价格计算逻辑
This commit is contained in:
parent
5b95bfcd49
commit
5c24c8713e
@ -80,7 +80,7 @@ class CartList extends BaseAdminDataLists implements ListsSearchInterface, Lists
|
||||
if($off_activity==1){
|
||||
$this->activity_price = bcadd(bcmul($find['cost'],$item['cart_num'], 2), $this->activity_price, 2);
|
||||
}
|
||||
if ($off_activity == 0 && $user_ship == 5 && $item['top_cate_id'] == 15189) {
|
||||
if ($off_activity == 0 && $user_ship == 5 && $find['top_cate_id'] == 15189) {
|
||||
$find['price']=$find['cost'];
|
||||
}
|
||||
$item['goods_total_price'] = bcmul($item['cart_num'], $find['price'], 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user