File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
app/code/Magento/Checkout/Controller/Cart Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 66namespace Magento \Checkout \Controller \Cart ;
77
88use Magento \Framework ;
9+ use Magento \Framework \App \Action \HttpPostActionInterface ;
910use Magento \Checkout \Model \Cart as CustomerCart ;
1011
11- class EstimatePost extends \Magento \Checkout \Controller \Cart
12+ class EstimatePost extends \Magento \Checkout \Controller \Cart implements HttpPostActionInterface
1213{
1314 /**
1415 * @var \Magento\Quote\Api\CartRepositoryInterface
@@ -63,9 +64,7 @@ public function execute()
6364 ->setCity ($ city )
6465 ->setPostcode ($ postcode )
6566 ->setRegionId ($ regionId )
66- ->setRegion ($ region )
67- ->setCollectShippingRates (true );
68- $ this ->quoteRepository ->save ($ this ->cart ->getQuote ());
67+ ->setRegion ($ region );
6968 $ this ->cart ->save ();
7069 return $ this ->_goBack ();
7170 }
You can’t perform that action at this time.
0 commit comments