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 304
304
<settings >
305
305
<scopeLabel >[GLOBAL]</scopeLabel >
306
306
<validation >
307
+ <rule name =" validate-number" xsi : type =" boolean" >true</rule >
307
308
<rule name =" validate-greater-than-zero" xsi : type =" boolean" >true</rule >
308
309
</validation >
309
310
<label translate =" true" >Maximum Qty Allowed in Shopping Cart</label >
You can’t perform that action at this time.
0 commit comments