Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10668

Quantity of the product added in the cart should not be negative

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Release Branch 16.11, Release Branch 17.12, Trunk
    • 16.11.06, 17.12.01
    • None
    • None

    Description

      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.

      Attachments

        1. OFBIZ-10668.patch
          1 kB
          Prakhar Kumar
        2. Negative product quantity in cart.png
          58 kB
          Dikpal Kanungo

        Activity

          People

            surajk Suraj Khurana
            Dikpal.Kanungo Dikpal Kanungo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: