Skip to content

Commit d3607fd

Browse files
author
Stanislav Idolov
committed
MAGETWO-44219: Tax(totals) is not recalculated in Order Summary for virtual product if customer changes address
1 parent 6eadce9 commit d3607fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Checkout/view/frontend/web/js/view/billing-address.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ define(
133133
if (this.selectedAddress() && this.selectedAddress() != newAddressOption) {
134134
selectBillingAddress(this.selectedAddress());
135135
checkoutData.setSelectedBillingAddress(this.selectedAddress().getKey());
136+
if (window.checkoutConfig.reloadOnBillingAddress) {
137+
setBillingAddressAction(globalMessageList);
138+
}
136139
} else {
137140
this.source.set('params.invalid', false);
138141
this.source.trigger(this.dataScopePrefix + '.data.validate');

0 commit comments

Comments
 (0)