better foreach :D
This commit is contained in:
parent
ce78fe39ec
commit
58ca0b2627
|
|
@ -451,6 +451,7 @@ class Cart
|
|||
foreach ($shippingMethods as $shippingMethod) {
|
||||
if ($shippingMethod['method'] == $shippingMethodCode) {
|
||||
$isMethodAvailable = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!$isMethodAvailable) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue