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

Load cart from order with modified price

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Upcoming Branch
    • Upcoming Branch
    • order
    • None
    • Patch

    Description

      The loadCartFromOrder method does not consider the selectedAmount from orderItems. When creating an order where the selectedAmount is not empty the current logic will take the already calculated unitprice and multiply it with the unitprice.

      SelectedAmount: 0.5
      Unitprice: 10
      Update 1: 5
      Update 2: 2.5
      ...

      My proposal uses the unitListPrice if the order item has modifiedPrice=Y && selectedAmount!=null

      Attachments

        Activity

          People

            Unassigned Unassigned
            iwolf Ingo Wolfmayr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: