[
https://issues.apache.org/jira/browse/OFBIZ-10668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16727300#comment-16727300 ]
Prakhar Kumar commented on OFBIZ-10668:
---------------------------------------
Hello [~suraj.khurana], I have verified it and the issue exists on both. I have also updated the affected versions in the ticket.
> Quantity of the product added in the cart should not be negative
> ----------------------------------------------------------------
>
> Key: OFBIZ-10668
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10668> Project: OFBiz
> Issue Type: Bug
> Affects Versions: Trunk, Release Branch 16.11, Release Branch 17.12
> Reporter: Dikpal Kanungo
> Assignee: Suraj Khurana
> Priority: Minor
> Attachments: Negative product quantity in cart.png, OFBIZ-10668.patch
>
>
> When a user adds a product to cart from View cart page, the quantity field can be changed to negative which should not happen.
> Steps to regenerate -
> Navigate to View Cart Page
> Add a product - GZ-1000 and quantity - 1
> Now update the quantity in cart to a negative number.
>
> Expected -
> The user should not be able to decrease the count to negative when the item is in the cart
> Please have a look at the attached screenshot. !Negative product quantity in cart.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)