Authored by 郭成尧

choseGiftCard-href

... ... @@ -103,7 +103,8 @@ class BuyNowController {
product_sku: product_sku,
buy_number: buy_number
}),
isOrdinaryCart: true
isOrdinaryCart: true,
choseGiftCard: helpers.urlFormat('/cart/index/buynow/selectGiftcard')
}
);
... ...
... ... @@ -131,7 +131,8 @@ exports.orderEnsure = (req, res, next) => {
orderEnsurePage: true,
isOrdinaryCart: cartType !== 'advance',
orderEnsure: _.assign(order, {
isOrdinaryCart: cartType !== 'advance'
isOrdinaryCart: cartType !== 'advance',
choseGiftCard: helpers.urlFormat('/cart/index/new/selectGiftcard')
}),
userMobile: mobile,
pageHeader: headerData,
... ...