Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-3659

Unable to Place Order Due to Unavailable Quantity Error Message Despite Available Quantity

    Details

      Description

      When placing an order for products with available quantity, I get an error message that the quantity is unavailable. This issue occurs intermittently. I've seen it happen most of the time for products that have 1 Available Quantity although I've seen it happen on > 1 Available Quantity.

      Assumptions

      1. Working Commerce site that can accept orders
        1. Linked to a channel
      2. At least one account with a user who can check out orders
      3. At least one product with Available Quantity > 0 and On Order = 0.
      4. The product has no channel filtering enabled & shows in the catalog.

      Steps to Reproduce

      1. Go to Control Panel > Commerce > Inventory and find a product that has Available Quantity > 0 and On Order = 0.
      2. Search for the SKU for that product in the Catalog and add it to the cart.
      3. Check out the order. 

      Expected Behavior

       The order is submitted successfully.

      Actual Behavior

       The order does not get submitted.

       An error message shows on the product that the quantity is unavailable.

      Product 70478

      Before checking out the order:

      Added to cart:

      Checking out order:

       

      Reproduced on

      Tomcat 9.0.6 + MySQL 5.7

      Portal 7.1.10 GA1 fix pack 17 

      Commerce 2.1 RC 6

       

       

        Attachments

        1. Screenshot from 2020-04-23 10-07-32.png
          40 kB
          Jaclyn Ong
        2. Screenshot from 2020-04-23 10-08-43.png
          64 kB
          Jaclyn Ong
        3. Screenshot from 2020-04-23 10-09-00.png
          90 kB
          Jaclyn Ong
        4. Screenshot from 2020-04-23 10-09-08.png
          98 kB
          Jaclyn Ong
        5. Screenshot from 2020-04-23 10-10-00.png
          44 kB
          Jaclyn Ong

          Activity

            People

            Assignee:
            pietro.bocale Pietro Bocale
            Reporter:
            jaclyn.ong Jaclyn Ong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2.1.1