diff --git a/view/frontend/templates/checkout/google-autocomplete-js.phtml b/view/frontend/templates/checkout/google-autocomplete-js.phtml index 8387e37..013f715 100644 --- a/view/frontend/templates/checkout/google-autocomplete-js.phtml +++ b/view/frontend/templates/checkout/google-autocomplete-js.phtml @@ -101,9 +101,7 @@ if (!$apiKey) { const value = address[key]; const identifier = `address.${fieldMappings[key]}`; - if (value !== undefined && (value.length > 0 || key === 'street_number_addition')) { - component.set(identifier, value); - } + component.set(identifier, value ?? ''); }); component.save();