diff --git a/controllers/admin/AdminCarrierWizardController.php b/controllers/admin/AdminCarrierWizardController.php index 1df6c8c4c..ec837406c 100644 --- a/controllers/admin/AdminCarrierWizardController.php +++ b/controllers/admin/AdminCarrierWizardController.php @@ -708,12 +708,13 @@ class AdminCarrierWizardControllerCore extends AdminController $return['has_error'] = true; $return['errors'][] = $this->l('An error occurred while saving carrier zones.'); } - - if (!$this->processRanges((int)$carrier->id)) - { - $return['has_error'] = true; - $return['errors'][] = $this->l('An error occurred while saving carrier ranges.'); - } + + if (!$carrier->is_free) + if (!$this->processRanges((int)$carrier->id)) + { + $return['has_error'] = true; + $return['errors'][] = $this->l('An error occurred while saving carrier ranges.'); + } if (Shop::isFeatureActive() && !$this->updateAssoShop((int)$carrier->id)) {