CASH-1410: updates to cta text for Heritage parity

This commit is contained in:
AdamCaouetteSafelite 2025-08-28 17:22:48 -04:00
parent 06f67099fa
commit 7c0db7c526
2 changed files with 9 additions and 6 deletions

View file

@ -751,15 +751,15 @@ export default {
customCtaCopy() {
switch (this.paymentMethod) {
case paymentMethods.PAY_NOW:
return "Continue to checkout";
return "Continue"; // Before Heritage Parity it was "Continue to checkout"
case paymentMethods.INSURANCE:
return "Continue to insurance";
return "Continue"; // Before Heritage Parity it was "Continue to insurance"
case paymentMethods.CREDIT_CARD:
return "Continue to checkout";
return "Continue"; // Before Heritage Parity it was "Continue to checkout"
case paymentMethods.PAYPAL:
return "Continue to Paypal";
return "Continue"; // Before Heritage Parity it was "Continue to Paypal"
case paymentMethods.AFTERPAY:
return "Continue to Afterpay";
return "Continue"; // Before Heritage Parity it was "Continue to Afterpay"
default:
return null;
}

View file

@ -1238,7 +1238,9 @@ export default {
return store.getters.lineItems.supportingItems;
},
updateFooterButtonText(timeSlotInfo) {
let navbarButtonText;
let navbarButtonText = "Continue";
// Archiving the following in case we revert back from Heritage parity
/*
if (!timeSlotInfo || !timeSlotInfo.timeSlot.date) {
navbarButtonText = "Continue";
} else {
@ -1273,6 +1275,7 @@ export default {
)}`;
}
}
*/
this.$refs.navbar.updateButtonText(navbarButtonText);
},
convertSelectedDateToShortMonthAndDay(selectedDate) {