Skip to content

Commit e814a5b

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

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

0 commit comments

Comments
 (0)