Commit 3c209fad by lmf

屏蔽发货数量限制

parent aa525b70
...@@ -75,9 +75,9 @@ class QuantityValidator implements ValidatorInterface ...@@ -75,9 +75,9 @@ class QuantityValidator implements ValidatorInterface
$totalQuantity += $item->getQty(); $totalQuantity += $item->getQty();
} }
} }
if ($totalQuantity <= 0) { // if ($totalQuantity <= 0) {
$messages[] = __('You can\'t create a shipment without products.'); // $messages[] = __('You can\'t create a shipment , .');
} // }
return $messages; return $messages;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment