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 1ae152c commit d0f5bafCopy full SHA for d0f5baf
app/code/Magento/Checkout/Model/TotalsInformationManagement.php
@@ -56,6 +56,10 @@ public function calculate(
56
$addressInformation->getShippingCarrierCode() . '_' . $addressInformation->getShippingMethodCode()
57
);
58
}
59
+
60
+ if ($quote->getShippingAddress()->dataHasChangedFor('shipping_method')) {
61
+ $quote->setTotalsCollectedFlag(false);
62
+ }
63
$quote->collectTotals();
64
65
return $this->cartTotalRepository->get($cartId);
0 commit comments