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() {
|
customCtaCopy() {
|
||||||
switch (this.paymentMethod) {
|
switch (this.paymentMethod) {
|
||||||
case paymentMethods.PAY_NOW:
|
case paymentMethods.PAY_NOW:
|
||||||
return "Continue to checkout";
|
return "Continue"; // Before Heritage Parity it was "Continue to checkout"
|
||||||
case paymentMethods.INSURANCE:
|
case paymentMethods.INSURANCE:
|
||||||
return "Continue to insurance";
|
return "Continue"; // Before Heritage Parity it was "Continue to insurance"
|
||||||
case paymentMethods.CREDIT_CARD:
|
case paymentMethods.CREDIT_CARD:
|
||||||
return "Continue to checkout";
|
return "Continue"; // Before Heritage Parity it was "Continue to checkout"
|
||||||
case paymentMethods.PAYPAL:
|
case paymentMethods.PAYPAL:
|
||||||
return "Continue to Paypal";
|
return "Continue"; // Before Heritage Parity it was "Continue to Paypal"
|
||||||
case paymentMethods.AFTERPAY:
|
case paymentMethods.AFTERPAY:
|
||||||
return "Continue to Afterpay";
|
return "Continue"; // Before Heritage Parity it was "Continue to Afterpay"
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1238,7 +1238,9 @@ export default {
|
||||||
return store.getters.lineItems.supportingItems;
|
return store.getters.lineItems.supportingItems;
|
||||||
},
|
},
|
||||||
updateFooterButtonText(timeSlotInfo) {
|
updateFooterButtonText(timeSlotInfo) {
|
||||||
let navbarButtonText;
|
let navbarButtonText = "Continue";
|
||||||
|
// Archiving the following in case we revert back from Heritage parity
|
||||||
|
/*
|
||||||
if (!timeSlotInfo || !timeSlotInfo.timeSlot.date) {
|
if (!timeSlotInfo || !timeSlotInfo.timeSlot.date) {
|
||||||
navbarButtonText = "Continue";
|
navbarButtonText = "Continue";
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -1273,6 +1275,7 @@ export default {
|
||||||
)}`;
|
)}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
this.$refs.navbar.updateButtonText(navbarButtonText);
|
this.$refs.navbar.updateButtonText(navbarButtonText);
|
||||||
},
|
},
|
||||||
convertSelectedDateToShortMonthAndDay(selectedDate) {
|
convertSelectedDateToShortMonthAndDay(selectedDate) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue