on the confirm page, use the store order summary and store order details behaviors to users information to the order summary table and to save the cart information to the order details table.
the store order details behave will save a new record for each line item.
to seer the information after it is insert, you would need to create reforests to query the orders table and the orders details tables.