Skip to content

Commit

Permalink
Merge pull request #3115 from mamhoff/do-not-allow-zero-quantity-in-a…
Browse files Browse the repository at this point in the history
…dmin-cart

Set mininum line item quantity in admin cart
  • Loading branch information
kennyadsl authored Feb 21, 2019
2 parents d7b101e + 7b86783 commit d838a56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{{#if editing}}
<td class="line-item-qty-edit">
<form>
<input type="number" name="quantity" value="{{ line_item.quantity }}" min="0" class="line_item_quantity" size="5">
<input type="number" name="quantity" value="{{ line_item.quantity }}" min="1" class="line_item_quantity" size="5">
</form>
</td>
{{else}}
Expand Down

0 comments on commit d838a56

Please sign in to comment.