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 6fd5921 commit edb196cCopy full SHA for edb196c
app/code/Magento/Checkout/view/frontend/web/js/view/billing-address.js
@@ -159,7 +159,7 @@ define(
159
if (customer.isLoggedIn() && !this.customerHasAddresses) {
160
this.saveInAddressBook(1);
161
}
162
- addressData.save_in_address_book = this.saveInAddressBook();
+ addressData.save_in_address_book = this.saveInAddressBook() ? 1 : 0;
163
newBillingAddress = createBillingAddress(addressData);
164
165
// New address must be selected as a billing address
0 commit comments