This is a design question

T

Tony Johansson

I have the Customer that is going to order some flowers
So we have two central tables Order and OrderLine
I keep the shopping cart and customer in Session.

I just wonder when is it suitable to write to the Order table and the
OrderLine tabler
is the best practice to do this when the Customer is doing CheckOut

//Tony
 
A

Arne Vajhøj

I have the Customer that is going to order some flowers
So we have two central tables Order and OrderLine
I keep the shopping cart and customer in Session.

I just wonder when is it suitable to write to the Order table and the
OrderLine tabler
is the best practice to do this when the Customer is doing CheckOut

That is more of a business problem than a software problem.

Do you want to have information about non finished orders (for
some type of analysis)?

Yes => save continuously
No => wait to save until purchasing

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top