ecommerce
ecommerce copied to clipboard
Display Shipments
Let's create a new menu item called "Shipments".
A list of those orders which have Shipment assigned will appear.
Probably we only need to react to "Shipment*" events. The output would be an ActiveRecord model ShipmentsList::Shipment with shipment_id/order_id, address, status.
hey @andrzejkrzywda can I take this issue? Also if there are any other details kindly share.
Go for it.
I'd recommend looking at other read models and follow the conventions.
@andrzejkrzywda having some questions.
- Address would be a combination of all 4 lines?
- In the first column do we need to show the order name or order uid?
- How to get the status of the shipment?
- yes
- name sounds better, how do you think?
- we now have only 2 states, Shipped or not Shipped (from the user perspective), I think
ShipmentSubmittedis the fact which changes the state
Okay, I still cannot figure out how to get shipment state. I will raise PR #176 having a shipment page without the state. Please guide me through how I can get state.
This is how the shipment page would look like

Thanks for the screenshot!
I understand the issue with displaying the state - let's remove it for now.
As for the link to order - we can extract it to another issue - I understand it's a bit more tricky.
okay @andrzejkrzywda removed state column.