Merge pull request #4750 from rahulshukla-webkul/4748

Issue #4748 fixed
This commit is contained in:
Glenn Hermans 2021-03-23 13:28:33 +01:00 committed by GitHub
commit 76da5bf91c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1180,6 +1180,8 @@ class Cart
array $shippingAddress
): void
{
$shippingAddress['cart_id'] = $billingAddress['cart_id'] = NULL;
if (isset($data['billing']['save_as_address']) && $data['billing']['save_as_address']) {
$this->customerAddressRepository->create($billingAddress);
}