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

Customer's Shipment Address Not Assigned to Dropship Purchase Orders

    XMLWordPrintableJSON

Details

    Description

      When buying drop ship products from the demo store the customer's shipping address is not saved with the purchase order, so the shipping address cannot be provided to the drop ship supplier.

      Steps to Reproduce:

      • From the DropShip Category add "DropShip from BigSupplier" and "DropShip from DemoSupplier" to your cart.
      • Login as admin
      • Use the one page checkout to order the products

      Resulting Order:
      https://demo-trunk.ofbiz.apache.org:8443/ordermgr/control/orderview?orderId=WSCO10002
      The purchase orders WS10003 and WS10004 are associated correctly with the order items, but as the shipping groups don't have addresses, the purchase orders don't have either.

      Expectation:
      All Shipment groups should have the shipping address assigned.

      Actual:
      Only the first shipment group has the shipping address assigned.

      Possibly offending line of Code:
      ShoppingCart.java line 2235:
      this.setShippingContactMechId(0, shippingContactMechId);
      Should probably not add the contactMechId only to the first CartShipInfo. When we tried to change that, though, drop shipping broke somehow completely.

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            mkreidenweis Martin Kreidenweis
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: