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 085c331 commit 2e8a9aaCopy full SHA for 2e8a9aa
app/code/Magento/Checkout/view/frontend/web/js/view/shipping.js
@@ -282,7 +282,7 @@ define([
282
option = _.isObject(this.countryOptions) && this.countryOptions[quote.shippingAddress().countryId],
283
messageContainer = registry.get('checkout.errors').messageContainer;
284
285
- if (!quote.shippingMethod()) {
+ if (!quote.shippingMethod() || !quote.shippingMethod()['method_code']) {
286
this.errorValidationMessage(
287
$t('The shipping method is missing. Select the shipping method and try again.')
288
);
0 commit comments