Shopping Cart Help

I am building a shopping cart with PHP & MySQL for a university project.
Would I be better building the buyers/customers cart with client side storage cookies or storing it in a database until the checkout is completed?
Also any good tutorials on how to go about this