...
|
...
|
@@ -92,23 +92,6 @@ exports.processProductList = (list, options) => { |
|
|
thumb: product.defaultImages
|
|
|
});
|
|
|
|
|
|
if (options.showPoint) {
|
|
|
product.marketPrice += '.00';
|
|
|
product.salesPrice += '.00';
|
|
|
|
|
|
if (product.vip1Price) {
|
|
|
product.vip1Price = parseInt(product.vip1Price, 10) + '.00';
|
|
|
}
|
|
|
|
|
|
if (product.vip2Price) {
|
|
|
product.vip2Price = parseInt(product.vip2Price, 10) + '.00';
|
|
|
}
|
|
|
|
|
|
if (product.vip3Price) {
|
|
|
product.vip3Price = parseInt(product.vip3Price, 10) + '.00';
|
|
|
}
|
|
|
}
|
|
|
|
|
|
product.isSoonSoldOut = product.isSoonSoldOut === 'Y';
|
|
|
product.url = helpers.urlFormat(`/product/pro_${product.productId}_${product.goodsList[0].goodsId}/${product.cnAlphabet}.html`); // eslint-disable-line
|
|
|
|
...
|
...
|
|