Can someone suggest a good starting point on how to design a shopping cart? We have some particulars that most carts don't support (the pre-packaged ones) so we need to develop our own.
There's a lot of tutorials out there, actually there is even one in your example applications that came with the CF installation (Tack store). This should be a good starting point for learning how to create a cart. There is a lot of ways you can do it, with session variables, temporary DBtables, client variables, cookies et cetera.
Good luck!
You can go at it one of two ways.
1. Cookies w/ Database
2. Login w/ Database
I would rather go with the first. But if they do not have cookies enabled, then it want work. Lets say that once they enter the site, they are automatically assigned a URLTOKEN correct, now once they click add to cart, it automatically adds that item to the database in reference to the cookie ID. It's not hard, but the thing is, you have to design you database with every possibility.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.