Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fun with Shipments

Fun with Shipments

Discussion of the Split Shipment functionality released with Spree 2.0 from SpreeConf DC 2013 #spreeconf

Chris Mar

May 20, 2013
Tweet

More Decks by Chris Mar

Other Decks in Programming

Transcript

  1. Stock Location (Virginia) Stock Item (count_on_hand) Variant Stock Item (count_on_hand)

    Variant Stock Item (count_on_hand) Variant Stock Item Model Thursday, May 23, 13
  2. Stock Movement +10 Stock Item count_on_hand = 7 Stock Movement

    -1 Stock Movement -2 Stock Location (Virginia) Variant Stock Movement Model Thursday, May 23, 13
  3. Stock Transfer PO123 Stock Location Variant Stock Movement +20 Variant

    Stock Movement +30 Stock Transfer Model Thursday, May 23, 13
  4. How should we package up these variants? order LineItem quantity:

    3 LineItem quantity: 5 Variant Variant Stock Coordinator Thursday, May 23, 13
  5. Ask each location what they can ship Stock Location (Oregon)

    Stock Location (Virginia) Stock Coordinator Order Order Thursday, May 23, 13
  6. Location Starts with Default Package Default Package ContentItem on_hand: 3

    backordered: 0 ContentItem on_hand: 2 backordered: 3 Variant Variant contents[] Thursday, May 23, 13
  7. split packages by shipping category split packages by inventory status

    split packages by weight build default package Thursday, May 23, 13
  8. Default Package Shipping Category (UPS) On Hand Back Ordered 20

    lbs 5 lbs 12 lbs Shipping Category (freight) On Hand 170 lbs Thursday, May 23, 13
  9. Stock Location Category Spli er Status Spli er Weight Spli

    er Package Package Package Package Default Package Thursday, May 23, 13
  10. Stock Coordinator Stock Location (Oregon) Stock Location (Virginia) Package Package

    Package Package Package Package Proposed Packages Thursday, May 23, 13
  11. Prioritize the Packages Stock Coordinator Package From Oregon on hand

    3 backordered 2 Package From Oregon on hand 0 backordered 2 Package From Virginia on hand 1 backordered 0 Package From Virginia on hand 4 backordered 1 Prioritizer Thursday, May 23, 13
  12. sort packages by distance or cost Prioritizer Package From Oregon

    on hand 3 backordered 2 Package From Oregon on hand 0 backordered 2 Package From Virginia on hand 1 backordered 0 Package From Virginia on hand 4 backordered 1 Thursday, May 23, 13
  13. adjust the packages Package from Oregon on hand 0 backordered

    2 Package from Virginia on hand 1 backordered 0 Package from Oregon on hand 3 backordered 2 Package from Virginia on hand 4 backordered 1 Prioritizer Adjuster Adjuster Thursday, May 23, 13
  14. prune the empty packages Prioritizer Package From Oregon on hand

    3 backordered 2 Package From Oregon on hand 0 backordered 0 Package From Virginia on hand 1 backordered 0 Package From Virginia on hand 0 backordered 0 Pruner X X Thursday, May 23, 13
  15. calculate shipping rates Package from Virginia on hand Package from

    Oregon backordered Estimator Package from Virginia on hand Package from Oregon backordered Calculator Shipping Rate Shipping Rate Shipping Rate Shipping Rate Thursday, May 23, 13
  16. packaged shipments order Shipment from Virginia Freight Rate (selected) Shipment

    from Oregon Shipping Rate (selected) Shipping Rate Thursday, May 23, 13
  17. Build Your Own Splitters Category Spli er No Ship Rule

    Weight Spli er Your Spli er return [] special variant packaging 1/2 freight flammable Thursday, May 23, 13
  18. Build Your Own Estimator Package location on hand Package location

    backordered Custom Estimator Logistics Company Laser Ship Thursday, May 23, 13
  19. Build Splitters for your business rules Estimator for your shipping

    company Assign Splitters per location Adjuster to choose packages Customized for your Business Thursday, May 23, 13
  20. Enjoy the next 2 days Fun with Shipments Welcome to

    the community Build awesome things Thursday, May 23, 13