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 6b410a1 commit 1de952aCopy full SHA for 1de952a
app/code/Magento/Checkout/Model/TotalsInformationManagement.php
@@ -68,12 +68,10 @@ public function calculate(
68
}
69
$quoteShippingAddress->setCollectShippingRates(true)
70
->setShippingMethod($shippingMethod);
71
-
72
- $this->cartRepository->save($quote);
73
- $quote->setTotalsCollectedFlag(false);
74
75
76
- $quote->collectTotals();
+ $quote->setTotalsCollectedFlag(false);
+ $this->cartRepository->save($quote);
77
78
return $this->cartTotalRepository->get($cartId);
79
0 commit comments