Hello.
I'm trying to build a simple shopping cart. My goal at this point is to construct a page called "show cart" that displays everything that's in the trolley so far (item name(s), quantity, shipping, total price etc).
So far I know in my head that I can find the grand total cost of a user's shopping cart by doing the following:
Take the cost of the item, add the shipping THEN multiple those by the quantity. Finally, there would be a command that somehow tells the program to do all this where the session_id = the current session id.
Ok, so that's how it's done in my head, but could someone please tell me how to do this using PHP/MySQL???
So far I can get the Show Cart page to display everything except the grand total. This is a nightmare and it would mean the world to me to find a solution!