Outside Order UI #428

Open
opened 2026-06-29 08:38:11 +00:00 by rob · 0 comments
Owner

Specification

Data Model

Data model will look like current retail orders. Each system will get a "house" ChannelAccount, and outside orders will belong to that CA.

An order in this context, then, is composed of:

  1. One ShippingInfo (same as used for marketplace orders)
  2. One BillingInfo (same as used for marketplace orders)
  3. One or more orderlines.

For the initial version, we will ignore shipping and tax charges. Those can be added later, once we think about them more.

Status

Outside Orders will generally follow the existing status codes, with the addition of a 'new' status for orders that are under-construction:

  • new - Order is still being created.
  • cancelled - Order has been cancelled.
  • pending - Order has been finalized, is is ready-to-ship.
  • complete - Order has been shipped.

UI Concerns

The biggest part of this project is the UI to create these orders. This UI will live on a single page/screen that allows:

  1. Adding/Editing ShippingInfo and BillingInfo
  2. Adding/Editing/Removing OrderLines.
  3. Finalizing/Cancelling the order.

Important Notes:

  1. Combos not supported. OrderLines limited by the UI to simple 6-digit SKU + qty. (Can be expanded later, but allows us to use SKUPicker)
  2. Shipping/Billing Info are going to be a bit tricky, because the underlying data model kind of sucks. Tim is tempted to spin off another project to fix this first.

The only other UI change is the addition of a button to the /retail/orders list to create a new order.

# Specification ## Data Model Data model will look like current retail orders. Each system will get a "house" ChannelAccount, and outside orders will belong to that CA. An order in this context, then, is composed of: 1. One ShippingInfo (same as used for marketplace orders) 2. One BillingInfo (same as used for marketplace orders) 3. One or more orderlines. For the initial version, we will ignore shipping and tax charges. Those can be added later, once we think about them more. ## Status Outside Orders will generally follow the existing status codes, with the addition of a 'new' status for orders that are under-construction: * **new** - Order is still being created. * **cancelled** - Order has been cancelled. * **pending** - Order has been finalized, is is ready-to-ship. * **complete** - Order has been shipped. ## UI Concerns The biggest part of this project is the UI to create these orders. This UI will live on a single page/screen that allows: 1. Adding/Editing ShippingInfo and BillingInfo 1. Adding/Editing/Removing OrderLines. 1. Finalizing/Cancelling the order. Important Notes: 1. Combos not supported. OrderLines limited by the UI to simple 6-digit SKU + qty. (Can be expanded later, but allows us to use SKUPicker) 1. Shipping/Billing Info are going to be a bit tricky, because the underlying data model kind of sucks. Tim is tempted to spin off another project to fix this first. The only other UI change is the addition of a button to the /retail/orders list to create a new order.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rob/pms3#428