I've got some plans to move away from storing the whole shopping cart in the session as it is done right now.
There is already new code with identical results that *always* saves and loads from the database. RIght now this is done only if a user logs out, I think.
The code does require 2 database reads in return for a much simpler shopping cart class and also removes dependencies from the zen cart class and the strange use of the order class during checkout.
It also would mean that the currently duplicated code to calculate the cart items, prices and totals in the zen cart cart and order class could be avoided.
