Skip to content

Commit e06ea95

Browse files
author
Ievgen Shakhsuvarov
committed
MAGETWO-37795: Email is not required during Guest Checkout
1 parent 03ca152 commit e06ea95

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ define(
110110
this.source.set('params.invalid', false);
111111
fields.trigger('change');
112112
this.source.trigger('billingAddress.data.validate');
113+
if (!customer.isLoggedIn()()) {
114+
this.source.trigger('customerDetails.data.validate');
115+
}
113116
this.validateAdditionalAddressFields();
114117
},
115118
validateAdditionalAddressFields: function() {

0 commit comments

Comments
 (0)