Skip to content

Commit 41c2238

Browse files
authored
Shipping Estimation: Prevent Quote Double Saving
+ The `Magento\Checkout\Model\Cart::save()` function also saves the quote in the same manner + See: https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Checkout/Model/Cart.php#L593
1 parent 28c1f28 commit 41c2238

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Checkout/Controller/Cart/EstimatePost.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public function execute()
6565
->setRegionId($regionId)
6666
->setRegion($region)
6767
->setCollectShippingRates(true);
68-
$this->quoteRepository->save($this->cart->getQuote());
6968
$this->cart->save();
7069
return $this->_goBack();
7170
}

0 commit comments

Comments
 (0)