We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7107b8d commit 49f6549Copy full SHA for 49f6549
app/code/Magento/OfflineShipping/Model/Carrier/Freeshipping.php
@@ -97,9 +97,7 @@ public function collectRates(RateRequest $request)
97
$method->setCost('0.00');
98
99
$result->append($method);
100
- }
101
- elseif ($this->getConfigData('showmethod'))
102
- {
+ } elseif ($this->getConfigData('showmethod')) {
103
$error = $this->_rateErrorFactory->create();
104
$error->setCarrier($this->_code);
105
$error->setCarrierTitle($this->getConfigData('title'));
@@ -110,7 +108,7 @@ public function collectRates(RateRequest $request)
110
108
)
111
109
);
112
return $error;
113
+ }
114
return $result;
115
}
116
0 commit comments