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 d62c612 commit 9f6b587Copy full SHA for 9f6b587
app/code/Magento/Checkout/view/frontend/web/js/view/shipping.js
@@ -259,7 +259,8 @@ define([
259
rates: shippingService.getShippingRates(),
260
isLoading: shippingService.isLoading,
261
isSelected: ko.computed(function () {
262
- return quote.shippingMethod() ?
+ return checkoutData.getSelectedShippingRate() ? checkoutData.getSelectedShippingRate() :
263
+ quote.shippingMethod() ?
264
quote.shippingMethod()['carrier_code'] + '_' + quote.shippingMethod()['method_code'] :
265
null;
266
}),
0 commit comments