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

Cannot add product to cart if option is not selected

    Details

      Description

      Steps

      1. Create a product with an option that is not required, nor a SKU contributor
      2. Go to that product's details page
      3. Attempt to add the product to cart without selecting an option

      Expected: The request should go through

      Actual: You cannot add the product to cart (the button is disabled). You must first select an option, then deselect the option in order to enable the add to cart button. You are able to circumvent this by adding the product to cart from the catalog view.

      Background: Our specific use case is that some products will have a file upload option that is optional. However, the add to cart button is disabled until they upload a dummy file (which enables the button), and then removing the file in order to add the product without an attachment. 

        Attachments

        1. 2019-11-12 11.33.11.gif
          2019-11-12 11.33.11.gif
          1.05 MB
        2. 2019-11-12 23.45.22.gif
          2019-11-12 23.45.22.gif
          647 kB
        3. sku-issue.gif
          sku-issue.gif
          1.17 MB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                2.0.7