Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 846f117

Browse files
committed
Removed setCollectShippingRates() on ShippingAddress because that method does not exist for a billing address. Also removed getBillingAddress() call because the empty address is already created 3 lines above.
1 parent a19eeb2 commit 846f117

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

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

234234
try {
235-
$quote->getBillingAddress()->setCollectShippingRates(true);
236235
$quote->getShippingAddress()->setCollectShippingRates(true);
237236

238237
$this->quoteRepository->save($quote);

0 commit comments

Comments
 (0)