PHP Question: Shopping cart without quantity and products from different tables?

Questionaire

New member
Ok, so I'm trying to program some kind of online store so I need a shopping cart, but the thing is the store is some kind of download store so I don't need quantities. Also the products being sold at the store are separated based on their category like games, ebooks, music and such. Also my PK is not auto increment, it's user input based on things like ISBN for books. What I often found in tutorials is that they had quantities, ids used are auto increment ones and all of those are being done on a single table in a database.

My problem is I have little understanding for PHP so I'm having problems to analyze and shape what I saw in the tutorials to how I need it. I want to know exactly how I can pass variables that contain ids to sessions and make it remember what I have added in my shopping cart
well with little understanding for php I was able to create functions such as add, edit, delete, log in, log out and register so I don't think learning and understanding a code is an issue.

Also this is actually for a certain course so I really need programming for this one and I think using osCommerce is not allowed.
Scratch that, I'm pretty sure using osCommerce is not allowed
 
Back
Top