diff --git a/src/store/index.js b/src/store/index.js index db172dde..e7919735 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -362,7 +362,7 @@ export const useMainStore = defineStore({ const carId = vehicle.carId; const glassArray = damage.glassToReplace; const resultsArray = damage.partQuestionAnswers; - const zipCode = order.serviceLocation.zipCode; + const zipCode = vehicle.registration.zipCode ? vehicle.registration.zipCode : order.customer.address.zipCode; const vin = vehicle.vin; // create a new array to avoid mutating state