Authored by hf

do product detail page add to cart feature

... ... @@ -211,8 +211,8 @@ class DetailModel
$thumbImageList[] = array('img' => Helpers::getImageUrl($value['colorImage'], 60, 60) );
// 统计每个尺码对应的各个颜色的库存量
foreach ($sizeList as &$value) {
$value['colorNumStr'] = implode('/', array_values($colorStorageGroup[ $value['sizeName'] ]) );
foreach ($sizeList as &$sizeArr) {
$sizeArr['colorNumStr'] = implode('/', array_values($colorStorageGroup[ $sizeArr['sizeName'] ]) );
}
// 商品库存总数
... ...