Skip to content

Empty deliveryOptions when multiple sellers are involved in a cart and supplying different delivery names #195

Description

@bdudabeecoded

OrderForm -> shipping -> deliveryOptions is always an empty array when:

  • marketplace scenario with more than one seller is involved in the cart (items from multiple sellers)
  • at least one seller has a delivery sla name which is unique

Seems that the assumption in node/utils/address.ts:16 filterDeliveryOptions by the condition deliveryOptionIsInEveryLogisticsInfo is not correct when multiple sellers are involved in the cart. It might be correct when applied per seller when multiple deliveries are created for a seller order (e.g. when package weight is over the max allowed per shipping policy), but may not be correct when multiple products from the same seller but with different transport modals are in the cart -> the delivery names will most probably differ.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions