Skip to content

Commit 9dc8ada

Browse files
committed
ACP2E-3469: Validation Error Triggered for All Products in Group When One Has Invalid Quantity
1 parent b12f85a commit 9dc8ada

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/web/mage/validation/validation.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ define([
1414
'validate-grouped-qty': [
1515
function (value, element, params) {
1616
var result = true,
17-
total = 0;
18-
19-
var inputVal = parseFloat($(element).val()) || 0;
17+
total = 0,
18+
inputVal = parseFloat($(element).val()) || 0;
2019

2120
if (inputVal < 0) {
2221
result = false;

0 commit comments

Comments
 (0)