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

The getFeatureIdQtyMap function doesn't include the DISTINGUISHING_FEAT into the featureMap

    XMLWordPrintableJSON

    Details

      Description

      The getFeatureIdQtyMap function in ShoppingCartItem.java doesn't include the DISTINGUISHING_FEAT in featureMap so if we want to calculate the Shipping amount based on Distinguishing feature, this method doesn't return the Distinguishing Feature in Feature Map.
      If we add DISTINGUISHING_FEAT as productFeatureApplTypeId in filterExprs then the feature map would contain the Distinguishing feature in addition to Standard and Required Feature.

      Also in ShoppingCartItem.java, putAdditionalProductFeatureAndAppl method, i think the OrderAdjustment should only be included when the amount is not null.

      The above issues are exists in all other branches including Trunk

        Attachments

        1. OFBiz-5544.patch
          1 kB
          Praveen Agrawal

          Activity

            People

            • Assignee:
              jleroux Jacques Le Roux
              Reporter:
              praveenagrawal18 Praveen Agrawal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: