Skip to content

Commit 1036496

Browse files
committed
#38811: Collect shipping rates with totals collection
1 parent e81f28e commit 1036496

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/code/Magento/InstantPurchase/Model/QuoteManagement/QuoteCreation.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ public function createQuote(
5757
$quote->setCustomer($customer->getDataModel());
5858
$quote->setCustomerIsGuest(0);
5959
$quote->getShippingAddress()
60-
->importCustomerAddressData($shippingAddress->getDataModel());
60+
->importCustomerAddressData($shippingAddress->getDataModel())
61+
->setCollectShippingRates(true);
6162
$quote->getBillingAddress()
62-
->importCustomerAddressData($billingAddress->getDataModel());
63+
->importCustomerAddressData($billingAddress->getDataModel())
64+
->setCollectShippingRates(true);
6365
$quote->setInventoryProcessed(false);
6466
return $quote;
6567
}

0 commit comments

Comments
 (0)