CASH-1410: updates to cta text for Heritage parity
This commit is contained in:
parent
06f67099fa
commit
7c0db7c526
2 changed files with 9 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue