diff --git a/models/OrderProduct.php b/models/OrderProduct.php index 28f3261..7e14a6e 100755 --- a/models/OrderProduct.php +++ b/models/OrderProduct.php @@ -149,7 +149,8 @@ foreach ($orderProducts as $orderProduct) { if ($orderProduct->variant_id == $id) { $orderProduct->count = $count; - break 2; + + continue 2; } } /** diff --git a/views/order/_form.php b/views/order/_form.php index a236734..09d40aa 100755 --- a/views/order/_form.php +++ b/views/order/_form.php @@ -57,6 +57,8 @@ field($model, 'payment_id') ->dropDownList($payments) ?> +
+
@@ -118,7 +120,8 @@ ?>
-
+
+