I'm just looking at creating orders through code with a view of adding product to a basket (or shopping cart) then checking out to complete the order.
I'm just wondering which data structure to use to effectively create this functionality? What is the difference, should I be creating a CartOrder for the shopping cart stage, then an Order once checking out??
Can anyone give me the pros and cons of using either of the two?