diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 4e890e531..bf9b9495c 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -138,6 +138,7 @@ import { getServiceabilityDetails, getShopProviderData, } from "@/layouts/service-location/helpers/service-location-helper/service-location-helper"; +import { navigateToHeritageFunnel } from "@/helpers/heritage-integration/navigation-helper"; import { Provider } from "@/layouts/service-location/classes/provider"; @@ -438,7 +439,14 @@ export default { this.recalibrationInformationModal.openModal(); }, backButtonAction() { - this.$router.navigateWithoutSaving(this.navigationScenarios.CLICKED_BACK, this.$route); + if (store.getters.order.payment.isInsurance) { + navigateToHeritageFunnel({shouldSaveSession: false}); + } else { + this.$router.navigateWithoutSaving( + this.navigationScenarios.CLICKED_BACK, + this.$route + ); + } }, updateAndSaveSupportingItems() { const supportingItems = store.getters.lineItems.supportingItems;