We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45e6680 commit c2cc8b5Copy full SHA for c2cc8b5
app/code/Magento/Checkout/view/frontend/web/js/model/cart/estimate-service.js
@@ -19,7 +19,7 @@ define([
19
quote.shippingAddress.subscribe(function () {
20
var type = quote.shippingAddress().getType();
21
22
- if (quote.isVirtual() || window.checkoutConfig.activeCarriers.length() === 0) {
+ if (quote.isVirtual() || (window.checkoutConfig && window.checkoutConfig.activeCarriers.length() === 0)) {
23
// update totals block when estimated address was set
24
totalsProcessors['default'] = totalsDefaultProvider;
25
totalsProcessors[type] ?
0 commit comments