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

Optimize ShoppingCart.removeCartItem (skip price calc and inventory check)

    XMLWordPrintableJSON

    Details

    • Sprint:
      Community Day 3 - 2015

      Description

      Based on the standard parameter completion from the overloaded API of ShoppingCartItem.setQuantity, the use of the ShoppingCart.removeCartItem method leads to an unnecessary price calculation and inventory check for the item being removed.
      By using the setQuantity method with full parameter list in this case, this can be avoided.

        Attachments

          Activity

            People

            • Assignee:
              mbrohl Michael Brohl
              Reporter:
              mbecker Martin Becker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: