Skip to content

Commit 46851c6

Browse files
author
Yu Tang
committed
MAGETWO-44614: Incorrect behaviour of estimate shipping and taxes for guest user based on default tax destination
1 parent 02e0378 commit 46851c6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/checkout-data-resolver.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,13 @@ define([
4141
if (checkoutData.getShippingAddressFromData()) {
4242
var address = addressConverter.formAddressDataToQuoteAddress(checkoutData.getShippingAddressFromData());
4343
selectShippingAddress(address);
44-
} else {
45-
this.resolveShippingAddress();
4644
}
45+
4746
if (quote.isVirtual()) {
4847
if (checkoutData.getBillingAddressFromData()) {
4948
address = addressConverter.formAddressDataToQuoteAddress(checkoutData.getBillingAddressFromData());
5049
selectBillingAddress(address);
51-
} else {
52-
this.resolveBillingAddress();
53-
}
50+
}
5451
}
5552

5653
},

0 commit comments

Comments
 (0)