Merge branch 'release/2026.07.16' into rlsmerge/2026.07.16-to-develop

This commit is contained in:
credelinghuys 2026-07-14 12:45:38 -04:00
commit 795d51643d
3 changed files with 16 additions and 3 deletions

View file

@ -61,6 +61,9 @@ const experimentSettings = {
// Consent Management
SHOW_CONSENT_MANAGEMENT: "ShowConsentManagement",
// YMM
BAILOUT_VIN_REQUIRED_VEHICLES: "BailoutVINRequiredVehicles",
};
const experimentTriggers = {

View file

@ -15,8 +15,8 @@
<span v-else>{{ getInlineAltText(token) }}</span>
</span>
<span v-else v-html="token"></span>
<span class="nbsp">&nbsp;</span>
</span>
<span class="nbsp">&ensp;</span>
<textLink
linkType="text"
:text="bannerCta"
@ -197,7 +197,6 @@ export default {
}
@include media-breakpoint-up(md) {
padding-left: 1rem;
max-width: 36rem;
}
}
}

View file

@ -6,6 +6,7 @@ import { saveSession } from "@/helpers/heritage-integration/order-helper.js";
import { experimentSettings } from "@/constants/experiments";
import { vinLookupMethodSelections } from "@/constants/vin-lookup-method-selections.js";
import { bailoutCodes } from "@/constants/bailout-codes";
import experimentMixin from "@/mixins/experiment-mixin.js";
export default {
computed: {
@ -37,7 +38,7 @@ export default {
pageNameToLog: pageName,
});
if (result.PartNotFound) {
if (result.PartNotFound || this.bailoutVinRequiredVehicles()) {
return bailoutMixin.methods.navigateToBailoutPage(
this,
bailoutCodes.PART_NOT_FOUND
@ -75,5 +76,15 @@ export default {
const phoneRegex = /^\(?(\d{3})\)?[-. ]?(\d{3})[-. ]?(\d{4})$/;
return phoneRegex.test(input);
},
bailoutVinRequiredVehicles() {
var isVinRequiredVehicle = store.getters.order.vehicle?.vinRequired;
if (!isVinRequiredVehicle) {
return false;
}
return experimentMixin.methods.hasSettingEqualTo(
experimentSettings.BAILOUT_VIN_REQUIRED_VEHICLES,
"true"
);
},
},
};