vinsol / nectarcommerce

Quest for customizable E-commerce - the Elixir way
323 stars 53 forks source link

Add support for customizable split shipments #72

Closed nimish-mehta closed 8 years ago

nimish-mehta commented 8 years ago

Adds support for split shipments:

  1. By default shipments are not split, instead all line items are bundled into a single shipping unit.
  2. The above behavior can be overridden by specifying a shipment splitter in config.
  3. All shipping calculations are done per shipping unit instead of on the order.
  4. Shipping Calculators may now implement applicable criteria for shipping units, and may selectively reject shipment units which are not supported by them.
  5. Only those methods which are applicable for the shipping unit and successfully return a value will be shown to the end user for checkout.
    • [x] Implement Split Shipments
    • [x] Update User view for supporting split shipments
    • [x] Update Admin view for supporting split shipments
    • [x] Update existing specs
    • [x] Add specs to test splitting behavior with the checkout flow
nimish-mehta commented 8 years ago

Closing merged with #78