...
|
...
|
@@ -579,6 +579,8 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
dest.cartInfo.soldOut = true;
|
|
|
} else if (notForSale) { // 非卖品
|
|
|
dest.cartInfo.notForSale = true;
|
|
|
} else if (dest.isPresale) { // 普通预售
|
|
|
dest.cartInfo.appBuy = 'preSale';
|
|
|
} else if (origin.is_deposit_advance === 'Y' || origin.is_limit_time_advance === 'Y') { // 定金预售,定金促销
|
|
|
dest.cartInfo.isDepositAdvance = true;
|
|
|
} else if (origin.isLimitBuy) { // 限购
|
...
|
...
|
@@ -649,7 +651,8 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
if (origin.attribute * 1 === 3) {
|
|
|
if (result.cartInfo.addToCartUrl) {
|
|
|
result.cartInfo.addToCartUrl = false;
|
|
|
result.tickets = result.cartInfo.tickets = true;
|
|
|
result.cartInfo.appBuy = 'tickets';
|
|
|
result.tickets = true;
|
|
|
}
|
|
|
result.ticketsConfirm = helpers.urlFormat('/cart/index/ticketsConfirm');
|
|
|
|
...
|
...
|
|