better foreach :D

This commit is contained in:
AmooAti 2021-11-07 12:39:46 +03:30
parent ce78fe39ec
commit 58ca0b2627
1 changed files with 1 additions and 0 deletions

View File

@ -451,6 +451,7 @@ class Cart
foreach ($shippingMethods as $shippingMethod) {
if ($shippingMethod['method'] == $shippingMethodCode) {
$isMethodAvailable = true;
break;
}
}
if (!$isMethodAvailable) {