Skip to content

Commit 60e8c84

Browse files
committed
MAGETWO-57278: ZIP in Checkout Gives Out a "validation failed" Error at Page Load
1 parent 66134b4 commit 60e8c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/new-customer-address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ define([], function () {
3030
company: addressData.company,
3131
telephone: addressData.telephone,
3232
fax: addressData.fax,
33-
postcode: addressData.postcode ? addressData.postcode : window.checkoutConfig.defaultPostcode,
33+
postcode: addressData.postcode ? addressData.postcode : window.checkoutConfig.defaultPostcode || undefined,
3434
city: addressData.city,
3535
firstname: addressData.firstname,
3636
lastname: addressData.lastname,

0 commit comments

Comments
 (0)