diff --git a/app/code/Magento/Quote/Model/QuoteValidator.php b/app/code/Magento/Quote/Model/QuoteValidator.php index 96fd742c36972..3d9128efaf07f 100644 --- a/app/code/Magento/Quote/Model/QuoteValidator.php +++ b/app/code/Magento/Quote/Model/QuoteValidator.php @@ -51,7 +51,7 @@ public function validateBeforeSubmit(QuoteEntity $quote) } $method = $quote->getShippingAddress()->getShippingMethod(); $rate = $quote->getShippingAddress()->getShippingRateByCode($method); - if (!$quote->isVirtual() && (!$method || !$rate)) { + if (!$method || !$rate) { throw new \Magento\Framework\Exception\LocalizedException(__('Please specify a shipping method.')); } }