Jump to content

Starting A CART System.. a little help please...


jwk811

Recommended Posts

I understand that to make a cart system i will need to use sessions and arrays but i'm not sure of how to put it all together.. would i make the "catolog" just be a big array and each "Add to Cart" button take that piece from the array to pass it on to the cart? is that how it works?

if so then when i pass that information on to the cart i would have to use the POST variable to apply that item that i got from the array, right? then how would i keep that information there when the customer leaves their cart to shop for more? could someone please tell me that and tell me if im right on this so far? thanks!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.