...
|
...
|
@@ -168,7 +168,7 @@ class DetailModel |
|
|
foreach ($baseInfo['goodsList'] as $value) {
|
|
|
$sizeList = array();
|
|
|
$colorStorageNum = 0;
|
|
|
$sizeStorageStr = ''; // clear to empty
|
|
|
$sizeStorageStr = '';
|
|
|
|
|
|
// 商品分组
|
|
|
if (isset($value['goodsImagesList'])) {
|
...
|
...
|
@@ -210,7 +210,7 @@ class DetailModel |
|
|
// 缩略图
|
|
|
$thumbImageList[] = array('img' => Helpers::getImageUrl($value['colorImage'], 60, 60) );
|
|
|
|
|
|
// 统计每个尺码对应的各个颜色的库存量
|
|
|
// 统计尺码对应的各个颜色的库存量
|
|
|
foreach ($sizeList as &$sizeArr) {
|
|
|
$sizeArr['colorNumStr'] = implode('/', array_values($colorStorageGroup[ $sizeArr['name'] ]) );
|
|
|
}
|
...
|
...
|
|