Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 64606aa

Browse files
committed
MAGETWO-95739: Zip code is not validated during checkout when "My billing and shipping address are the same" is unchecked
1 parent e97e0e0 commit 64606aa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/Checkout/view/frontend/web/js/view/billing-address.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ function (
7373
quote.paymentMethod.subscribe(function () {
7474
checkoutDataResolver.resolveBillingAddress();
7575
}, this);
76-
shippingRatesValidator.initFields(
77-
'checkout.steps.billing-step.payment.payments-list.checkmo-form.form-fields'
78-
);
76+
shippingRatesValidator.initFields(this.get('name') + '.form-fields');
7977
},
8078

8179
/**

0 commit comments

Comments
 (0)