Skip to content

Commit 071ba9c

Browse files
MAGETWO-55301: Enable tax rate calculation on address change without shipping methods
1 parent e814a5b commit 071ba9c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/cart/estimate-service.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ define([
1919
quote.shippingAddress.subscribe(function () {
2020
var type = quote.shippingAddress().getType();
2121

22-
if (quote.isVirtual() || (window.checkoutConfig.activeCarriers && window.checkoutConfig.activeCarriers.length() === 0)) {
22+
if (
23+
quote.isVirtual() ||
24+
window.checkoutConfig.activeCarriers && window.checkoutConfig.activeCarriers.length() === 0
25+
) {
2326
// update totals block when estimated address was set
2427
totalsProcessors['default'] = totalsDefaultProvider;
2528
totalsProcessors[type] ?

0 commit comments

Comments
 (0)