Authored by Rock Zhang

修改加价购或者赠品详情的尺码与颜色的数据结构

... ... @@ -570,6 +570,7 @@ class Helpers
$oneGoods = array();
foreach ($cartGoods as $key => $value) {
$oneGoods = array();
$oneGoods['id'] = $value['product_sku'];
$oneGoods['skn'] = $value['product_skn'];
$oneGoods['name'] = $value['product_name'];
... ...
... ... @@ -662,9 +662,9 @@ class CartModel
$colorNum += $one['storage_number'];
$sizeStorageStr .= $one['storage_number'] . '/';
$sizeList[$val['color_id']][] = $oneSize;
$sizeList[$val['product_skc']][] = $oneSize;
$colorStorageGroup[$one['productSkc']][$val['sizeName']] = $val['storage_number'];
$colorStorageGroup[$val['product_skc']][$one['size_name']] = $one['storage_number'];
}
// 颜色
... ...