We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df6ab51 commit 746bff6Copy full SHA for 746bff6
app/code/Magento/Checkout/view/frontend/web/js/view/billing-address.js
@@ -150,7 +150,7 @@ define(
150
var addressData = this.source.get(this.dataScopePrefix),
151
newBillingAddress = createBillingAddress(addressData);
152
153
- if (this.isCustomerLoggedIn && !this.customerHasAddresses) {
+ if (customer.isLoggedIn() && !this.customerHasAddresses) {
154
this.saveInAddressBook(true);
155
}
156
addressData.save_in_address_book = this.saveInAddressBook();
0 commit comments