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.
2 parents 97c312b + 145e779 commit cb49b21Copy full SHA for cb49b21
app/code/Magento/Checkout/view/frontend/web/js/model/cart/totals-processor/default.js
@@ -77,16 +77,6 @@ define([
77
* @param {Object} address
78
*/
79
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
90
return loadFromServer(address);
91
}
92
};
0 commit comments