...
|
...
|
@@ -576,6 +576,10 @@ const formatCart = (cartDataRet, uid, shoppingKey, cartDelList) => { |
|
|
return result;
|
|
|
}
|
|
|
|
|
|
|
|
|
// 预售购物车,普通购物车 凑单链接
|
|
|
result.moreGoodsLink = '//list.yohobuy.com/new';
|
|
|
|
|
|
result.advanceCart = {
|
|
|
// 未参加活动的商品
|
|
|
// goodsList: chelper.formatCartGoods(_.get(advCartData, 'goods_list'), true, false, false, analysisData),
|
...
|
...
|
@@ -584,6 +588,8 @@ const formatCart = (cartDataRet, uid, shoppingKey, cartDelList) => { |
|
|
soldOuts: formatSoldOuts(_.get(advCartData, 'sold_out_goods_list'), true, analysisData),
|
|
|
promotionInfos: formatPromotionInfos(_.get(advCartData, 'promotion_info')),
|
|
|
stat: formatShoppingCartData(_.get(advCartData, 'shopping_cart_data')),
|
|
|
isShippingCostFree: _.get(advCartData, 'shipping_cost_prompt.is_shipping_cost_free', '') === 'Y',
|
|
|
tips: _.get(advCartData, 'shipping_cost_prompt.shipping_cost_tips', ''),
|
|
|
ensureUrl: helpers.urlFormat('/cart/ensure', {
|
|
|
type: 2
|
|
|
})
|
...
|
...
|
@@ -615,6 +621,7 @@ const formatCart = (cartDataRet, uid, shoppingKey, cartDelList) => { |
|
|
ensureUrl: helpers.urlFormat('/cart/ensure'),
|
|
|
|
|
|
// 免运费提示
|
|
|
isShippingCostFree: _.get(ordCartData, 'shipping_cost_prompt.is_shipping_cost_free', '') === 'Y',
|
|
|
tips: _.get(ordCartData, 'shipping_cost_prompt.shipping_cost_tips', ''),
|
|
|
|
|
|
// 低档赠品
|
...
|
...
|
|