Skip to content

Commit cb49b21

Browse files
committed
Merge branch 'cleanup-cart-totals-processor-default' of github.com:rhorii/magento2 into 2.4-develop-prs
2 parents 97c312b + 145e779 commit cb49b21

File tree

1 file changed

+0
-10
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js/model/cart/totals-processor

1 file changed

+0
-10
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/cart/totals-processor/default.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,6 @@ define([
7777
* @param {Object} address
7878
*/
7979
estimateTotals: function (address) {
80-
var data = {
81-
shippingMethodCode: null,
82-
shippingCarrierCode: null
83-
};
84-
85-
if (quote.shippingMethod() && quote.shippingMethod()['method_code']) {
86-
data.shippingMethodCode = quote.shippingMethod()['method_code'];
87-
data.shippingCarrierCode = quote.shippingMethod()['carrier_code'];
88-
}
89-
9080
return loadFromServer(address);
9181
}
9282
};

0 commit comments

Comments
 (0)