The drop-ship process behaves incorrectly when a combination of drop-ship and non-drop-ship products are added into the cart.
Suppose we have two items in the cart:
- The first item is drop-shippable.
- The second item is not drop-shippable.
For the first item, the implementation works fine.
For the second item, this is not working correctly.
For drop shipment process, cart method 'createDropShipGroups' decides RequirementMethodEnumId in the order of property set at ProductStore -> ProductFacility -> Product which work fine in case of all drop-ship products and if the drop-ship product(s) is added last in the cart.
The issue I found is that if a combination of a dropship and non-drop ship products are added into the cart and the non-drop shippable product(s) is added after the drop shippable product(s) then the non-drop-shippable products also considered as drop-shippable.