From 83cb0ff3d896fa682977f0073fd55c5ce8a950b3 Mon Sep 17 00:00:00 2001 From: rahulshukla-home Date: Wed, 6 May 2020 11:39:45 +0530 Subject: [PATCH] Issue #2987 --- packages/Webkul/Checkout/src/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/Checkout/src/Cart.php b/packages/Webkul/Checkout/src/Cart.php index 59b73dd48..2f770abe0 100755 --- a/packages/Webkul/Checkout/src/Cart.php +++ b/packages/Webkul/Checkout/src/Cart.php @@ -1201,7 +1201,7 @@ class Cart $billingAddressData['address_type'] = CartAddress::ADDRESS_TYPE_SHIPPING; $this->cartAddressRepository->update($billingAddressData, $shippingAddressModel->id); } else { - $billingAddressData['address_type'] = CartAddress::ADDRESS_TYPE_SHIPPING; + $shippingAddressData['address_type'] = CartAddress::ADDRESS_TYPE_SHIPPING; $this->cartAddressRepository->update($shippingAddressData, $shippingAddressModel->id); } } else {