...
|
...
|
@@ -58,7 +58,7 @@ abstract class YHMCart_Cart_Abstract extends YHMCart_Cart_Dispatch |
|
|
$params['buy_number']=$tmpGoods['buy_number'];
|
|
|
$params['goods_type']=$tmpGoods['goods_type'];
|
|
|
$params['is_change']='N';
|
|
|
$params['salse_price']=$goods['salse_price'];
|
|
|
$params['salse_price']=$goods['salse_price'];//TODO 写错了,插入数据库有问题
|
|
|
$params['store_id']=$goods['store_id'];
|
|
|
$cart=YHMOrders_Models_Cart_Client::getDetailByUid($uid, $params['product_sku'], $params['last_price']);
|
|
|
if(empty($cart))
|
...
|
...
|
@@ -144,9 +144,9 @@ abstract class YHMCart_Cart_Abstract extends YHMCart_Cart_Dispatch |
|
|
'sell_channels' => $productInfo['sell_channels']
|
|
|
);
|
|
|
|
|
|
$goodsInfo = QINProduct_Models_Goods_Client::getByGoodsId($storage['goods_id']);
|
|
|
$goodsInfo = QINProduct_Models_Goods_Client::getByGoodsId($storage['goods_id']); //TODO 有问题
|
|
|
|
|
|
$priceInfo = QINProduct_Models_Price_Client::getProductPrice($storage['product_id']);
|
|
|
$priceInfo = QINProduct_Models_Price_Client::getProductPrice($storage['product_id']);//TODO
|
|
|
|
|
|
$sizeName = QINProduct_Models_Size_Client::getSizeName($storage['goods_dimension_id']);
|
|
|
$totalAmount = $priceInfo['sales_price'] * $product['buy_number'];
|
...
|
...
|
|