Invalid error message

This commit is contained in:
Sneha 2023-11-27 17:16:21 +05:30
parent 8287c5dc11
commit e2d39f6b82

View file

@ -229,7 +229,13 @@ export default {
);
return (this.displayInShopPromoAlert = true);
}
break;
else{
this.errorMessage = this.PromoText?.replaceAll(
"{custom:PROMOCODE}",
this.promoCode.toUpperCase()
);
return (this.displayInvalidPromoAlert = true);
}
default:
this.errorMessage = this.PromoText?.replaceAll(
"{custom:PROMOCODE}",