Skip to content

Commit 72c4965

Browse files
[2.3-develop] Forwardport of #11458
1 parent c7207f6 commit 72c4965

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Quote/Model/QuoteManagement.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ public function createEmptyCart()
232232
$quote->setShippingAddress($this->quoteAddressFactory->create());
233233

234234
try {
235+
$quote->getShippingAddress()->setCollectShippingRates(true);
235236
$this->quoteRepository->save($quote);
236237
} catch (\Exception $e) {
237238
throw new CouldNotSaveException(__('Cannot create quote'));

0 commit comments

Comments
 (0)