Skip to content

Commit 2b97d59

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-93066' into 2.2-develop-pr34
2 parents 82c0285 + 2d51ef9 commit 2b97d59

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/Checkout/view/frontend/web/js/view/cart/shipping-estimation.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ define(
4747
checkoutDataResolver.resolveEstimationAddress();
4848
address = quote.isVirtual() ? quote.billingAddress() : quote.shippingAddress();
4949

50+
if (!address && quote.isVirtual()) {
51+
address = addressConverter.formAddressDataToQuoteAddress(
52+
checkoutData.getSelectedBillingAddress()
53+
);
54+
}
55+
5056
if (address) {
5157
estimatedAddress = address.isEditable() ?
5258
addressConverter.quoteAddressToFormAddressData(address) :

0 commit comments

Comments
 (0)