Merge pull request #2809 from Safelite/feature/CASH-1410

CASH-1410: updates to cta text for Heritage parity
This commit is contained in:
AdamCaouetteSafelite 2025-08-29 07:47:44 -04:00 committed by GitHub
commit 3a09d000ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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) {