Skip to content

Commit 5ddf66f

Browse files
ENGCOM-5516: Fixed #23897 Sales Configuration in the Minimum Amount field have not proper validation #23898
2 parents b225ac3 + 1998fcb commit 5ddf66f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Sales/etc/adminhtml/system.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
</field>
9393
<field id="amount" translate="label comment" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0">
9494
<label>Minimum Amount</label>
95+
<validate>validate-number validate-greater-than-zero</validate>
9596
<comment>Subtotal after discount</comment>
9697
</field>
9798
<field id="include_discount_amount" translate="label" sortOrder="12" type="select" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">

0 commit comments

Comments
 (0)