...
|
...
|
@@ -17,6 +17,9 @@ const formatProduct = (list) => { |
|
|
val.isSoonSoldOut = val.isSoonSoldOut === 'Y';
|
|
|
}
|
|
|
|
|
|
val.url = '/product/pro_' + val.productId + '_' + val.goodsList[0].goodsId +
|
|
|
'/' + val.cnAlphabet + '.html';
|
|
|
|
|
|
tag.push({
|
|
|
isNew: val.isNew === 'Y',
|
|
|
isDiscount: val.isDiscount === 'Y',
|
...
|
...
|
@@ -25,7 +28,6 @@ const formatProduct = (list) => { |
|
|
isAdvance: val.isAdvance === 'Y'
|
|
|
});
|
|
|
|
|
|
|
|
|
_.forEach(tag, function(data) {
|
|
|
|
|
|
if (data.isDiscount === true && val.isSoonSoldOut === true) {
|
...
|
...
|
|