diff --git a/app/code/community/Svea/Checkout/Model/Checkout/Api/BuildOrder.php b/app/code/community/Svea/Checkout/Model/Checkout/Api/BuildOrder.php index 3651867..11f763e 100644 --- a/app/code/community/Svea/Checkout/Model/Checkout/Api/BuildOrder.php +++ b/app/code/community/Svea/Checkout/Model/Checkout/Api/BuildOrder.php @@ -451,10 +451,7 @@ protected function _addShipping($quote, $sveaOrder, $noSave) } $shippingAddress = $quote->getShippingAddress(); - - $noSave = true; - - if(false === $noSave) { + if(!$noSave) { //update shipping with rates. $shippingAddress->setCollectShippingRates(true) ->collectShippingRates()