Skip to content

Commit a856b02

Browse files
committed
Only Set Collect Shipping Rates Once
+ Also set in Magento\Checkout\Model\Cart::save() + See: https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Checkout/Model/Cart.php#L591
1 parent 41c2238 commit a856b02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ public function execute()
6363
->setCity($city)
6464
->setPostcode($postcode)
6565
->setRegionId($regionId)
66-
->setRegion($region)
67-
->setCollectShippingRates(true);
66+
->setRegion($region);
6867
$this->cart->save();
6968
return $this->_goBack();
7069
}

0 commit comments

Comments
 (0)