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

Rules consistency for Allowed Quantities

    Details

    • Type: Story
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Shopping Experience
    • Labels:
      None

      Description

      Currently when a product has a specific set of allowed quantities to choose from before adding it to the cart, the behaviour in the product card is additive, e.g.

      • Assume a product's allowed quantities set is [1, 3, 5, 10]
      • Select 3.
      • Upon clicking on the "Add To Cart" button, the item gets added to the cart with the quantity of 3.
      • Upon clicking a second time on the button, the item gets added to the cart and adds up to the previous 3, meaning in the cart we'll have a quantity of 6.

      ...and so forth.

      By contrast, when editing the quantity in the cart, as the cart item is set to handle only allowed quantities, the only selectable quantities for it will be the original [1, 3, 5, 10].
      Now, if, say, 3 gets selected, such quantity will replace (not add to) the previous item's quantity.

      The question then is, what should the behaviour be? Always selective or always additive?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              corbin.murakami Corbin Murakami
              Reporter:
              gianmarco.brunialti Gianmarco Brunialti (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package