veledrom 32 Master Poster

Hi,

I am thinking to create an e-commerce web site. I just want to find out about the logic behid processing the order that have more than one order. How do we place an order? Stock check and update before and after placing order.

I am asking this question because, what happens if something goes wrong middle of the placing order into database. Either all items should be processed or none but how do we control it? Probably we use Commit or Rolback but how?

Thanks