Re: Cookies to Cart question

2010-02-26 Thread WebbedIT
I haven't used cookies directly. I would personally store this in the database and mark each record with the session id. This then allows you to analyse abandoned carts etc. Paul Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

Re: Cookies to Cart question

2010-02-26 Thread Jeremy Burns
I do the same. I create an order record and store the order_id in a session. The first thing I do in any action is look for the id in the session. If it's not there, go back to the start. If it's there, do some some stuff, reading from the db if appropriate. This means I can process an order