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 // Consent Management
SHOW_CONSENT_MANAGEMENT: "ShowConsentManagement", SHOW_CONSENT_MANAGEMENT: "ShowConsentManagement",
// YMM
BAILOUT_VIN_REQUIRED_VEHICLES: "BailoutVINRequiredVehicles",
}; };
const experimentTriggers = { const experimentTriggers = {

View file

@ -15,8 +15,8 @@
<span v-else>{{ getInlineAltText(token) }}</span> <span v-else>{{ getInlineAltText(token) }}</span>
</span> </span>
<span v-else v-html="token"></span> <span v-else v-html="token"></span>
<span class="nbsp">&nbsp;</span>
</span> </span>
<span class="nbsp">&ensp;</span>
<textLink <textLink
linkType="text" linkType="text"
:text="bannerCta" :text="bannerCta"
@ -197,7 +197,6 @@ export default {
} }
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
padding-left: 1rem; 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 { experimentSettings } from "@/constants/experiments";
import { vinLookupMethodSelections } from "@/constants/vin-lookup-method-selections.js"; import { vinLookupMethodSelections } from "@/constants/vin-lookup-method-selections.js";
import { bailoutCodes } from "@/constants/bailout-codes"; import { bailoutCodes } from "@/constants/bailout-codes";
import experimentMixin from "@/mixins/experiment-mixin.js";
export default { export default {
computed: { computed: {
@ -37,7 +38,7 @@ export default {
pageNameToLog: pageName, pageNameToLog: pageName,
}); });
if (result.PartNotFound) { if (result.PartNotFound || this.bailoutVinRequiredVehicles()) {
return bailoutMixin.methods.navigateToBailoutPage( return bailoutMixin.methods.navigateToBailoutPage(
this, this,
bailoutCodes.PART_NOT_FOUND bailoutCodes.PART_NOT_FOUND
@ -75,5 +76,15 @@ export default {
const phoneRegex = /^\(?(\d{3})\)?[-. ]?(\d{3})[-. ]?(\d{4})$/; const phoneRegex = /^\(?(\d{3})\)?[-. ]?(\d{3})[-. ]?(\d{4})$/;
return phoneRegex.test(input); 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"
);
},
}, },
}; };