|
@@ -105,8 +105,8 @@ class Cart extends Base
|
|
$tempData['number'] = $item['number'];
|
|
$tempData['number'] = $item['number'];
|
|
|
|
|
|
$tempData['image'] = Config::getImagesFullUrl($tempData['image']);
|
|
$tempData['image'] = Config::getImagesFullUrl($tempData['image']);
|
|
-// $tempData['oldPrice'] = round($oldData['sales_price'], 2);
|
|
|
|
-// $tempData['nowPrice'] = round($tempData['sales_price'], 2);
|
|
|
|
|
|
+ $tempData['oldPrice'] = round($tempData['sales_price'], 2);
|
|
|
|
+ $tempData['nowPrice'] = round($tempData['sales_price'], 2);
|
|
//新增此商品总价
|
|
//新增此商品总价
|
|
$tempData['Price_total'] = bcmul($tempData['sales_price'],$tempData['number'],2);
|
|
$tempData['Price_total'] = bcmul($tempData['sales_price'],$tempData['number'],2);
|
|
//已选中商品,总价格
|
|
//已选中商品,总价格
|