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

Products in a bundle that aren't available still show in the storefront

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.1
    • Component/s: Shopping Experience
    • Labels:
      None

      Description

      Assumptions

      1. A functioning storefront – e.g. use Minium for convenience

      Steps to Reproduce

      1. Create two products with no options and one SKU
        1. For one product, give it more than 0 available inventory
        2. For the other product, set Backorder = FALSE and give it 0 available inventory
      2. Create a bundle product
        1. Create one option
        2. Create two option values and link them to the two products created in Step #1
      3. View the product in the storefront
      4. Assert that you can only select the option value for the product that has available inventory
      5. Select that option value
      6. View the available option values

      Expected Result

      Still only one available option value

      Actual Result

      Two option values, including the option value linked to the SKU which has 0 available quantity

      Reproduced On

      7.2

      Tomcat 9.0.33 + HSQL 2.3.3
      DXP 7.2 FP5
      Commerce brianchandotcom/liferay-portal-ee:7.1.x git hash d2d6ed7cdc6adec6573191ebf68b38930033b6ba

      7.1

      Tomcat 9.0.33 + HSQL 2.3.3
      DXP 7.1 FP17
      Commerce brianchandotcom/liferay-portal-ee:7.1.x git hash d2d6ed7cdc6adec6573191ebf68b38930033b6ba

      Notes

      • Open question: why aren't we using the DDM Form disable state for option values which are not available?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pietro.bocale Pietro Bocale
              Reporter:
              corbin.murakami Corbin Murakami
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.1