Skip to content

Commit 7325c04

Browse files
ENGCOM-3171: [Backport] Added validation on maximum quantity allowed in shopping cart #18552
- Merge Pull Request #18552 from gelanivishal/magento2:2.2-develop-PR-port-18481 - Merged commits: 1. db4ac89
2 parents 06274cb + db4ac89 commit 7325c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogInventory/view/adminhtml/ui_component/product_form.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
<settings>
286286
<scopeLabel>[GLOBAL]</scopeLabel>
287287
<validation>
288-
<rule name="validate-number" xsi:type="boolean">true</rule>
288+
<rule name="validate-greater-than-zero" xsi:type="boolean">true</rule>
289289
</validation>
290290
<label translate="true">Maximum Qty Allowed in Shopping Cart</label>
291291
<dataScope>max_sale_qty</dataScope>

0 commit comments

Comments
 (0)