|
@@ -635,9 +635,9 @@ class buyLogic
|
|
|
foreach ($store_cart_list as $store_id => $goods_list)
|
|
|
{
|
|
|
//取得本店优惠额度(后面用来计算每件商品实际支付金额,结算需要)
|
|
|
- $promotion_total = !empty($store_promotion_total[$store_id]) ? $store_promotion_total[$store_id] : 0;
|
|
|
+ $promotion_total = !empty($store_promotion_total[$store_id]) ? $store_promotion_total[$store_id] : 0;
|
|
|
$promotion_optotal = !empty($optional_goods[$store_id]) ? $optional_goods[$store_id]['discount'] : 0;
|
|
|
- $promotion_total += $promotion_optotal;
|
|
|
+ $promotion_total += $promotion_optotal;
|
|
|
|
|
|
//本店总的优惠比例,保留3位小数
|
|
|
$should_goods_total = $store_final_order_total[$store_id] - $store_freight_total[$store_id] + $promotion_total;
|