From 67b905dc4c4439c04411a0339b3373664891a714 Mon Sep 17 00:00:00 2001 From: Sneha Date: Tue, 14 Nov 2023 16:35:56 +0530 Subject: [PATCH] Update promo-modal-question.vue --- .../promo-modal-question/promo-modal-question.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/payment-method/promo-modal-question/promo-modal-question.vue b/src/layouts/payment-method/promo-modal-question/promo-modal-question.vue index 70368a834..ac42fce2e 100644 --- a/src/layouts/payment-method/promo-modal-question/promo-modal-question.vue +++ b/src/layouts/payment-method/promo-modal-question/promo-modal-question.vue @@ -215,7 +215,7 @@ export default { this.lineItems.vaps?.push(...getVaps); this.closeModal(); } else { - if (promoCodeData.errorCode == promoErrorCodes.NO_SUITABLE_ITEM_FOR_PROMO) { + if (promoCodeData.errorCode == promoErrorCodes.PROMO_STACKING_NOT_ALLOWED) { this.displayInvalidOnOrderPromoAlert = true; this.focusOnPromoInput(); this.resetModalButtonStyle();