File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
app/code/Magento/CatalogInventory
view/adminhtml/ui_component Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 55
55
</field >
56
56
<field id =" max_sale_qty" translate =" label" type =" text" sortOrder =" 4" showInDefault =" 1" showInWebsite =" 0" showInStore =" 0" canRestore =" 1" >
57
57
<label >Maximum Qty Allowed in Shopping Cart</label >
58
- <validate >validate-number</validate >
58
+ <validate >validate-number validate-greater-than-zero </validate >
59
59
</field >
60
60
<field id =" min_qty" translate =" label" type =" text" sortOrder =" 5" showInDefault =" 1" showInWebsite =" 0" showInStore =" 0" canRestore =" 1" >
61
61
<label >Out-of-Stock Threshold</label >
Original file line number Diff line number Diff line change 285
285
<settings >
286
286
<scopeLabel >[GLOBAL]</scopeLabel >
287
287
<validation >
288
+ <rule name =" validate-number" xsi : type =" boolean" >true</rule >
288
289
<rule name =" validate-greater-than-zero" xsi : type =" boolean" >true</rule >
289
290
</validation >
290
291
<label translate =" true" >Maximum Qty Allowed in Shopping Cart</label >
You can’t perform that action at this time.
0 commit comments