Skip to content

Commit

Permalink
added min=0 to qty field product detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
w.perera committed Feb 8, 2019
1 parent fb9e645 commit da38e29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<input type="number"
name="qty"
id="qty"
min="0"
value="<?= /* @escapeNotVerified */ $block->getProductDefaultQty() * 1 ?>"
title="<?= /* @escapeNotVerified */ __('Qty') ?>"
class="input-text qty"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<input type="number"
name="qty"
id="qty"
min="0"
value=""
title="<?= /* @escapeNotVerified */ __('Qty') ?>"
class="input-text qty"
Expand Down

0 comments on commit da38e29

Please sign in to comment.