Jump to content

Archived

This topic is now archived and is closed to further replies.

jwk811

Carts

Recommended Posts

Could someone give me an overview on how to make a cart system and all that stuff? please remember that im still new to all this and a lot of this stuff doesnt make sense to me. any help at all would be great! thanks! i know i have to use databases and/or sessions but i wouldnt know how to put this stuff together..

Share this post


Link to post
Share on other sites
Go to php.net and read up on Arrays ans Sessions.

A good starting point would be fore you to initialize a session for each user that visits you site then begin to sotre their basket information inside their Session as an array.

There are many Shopping Cart tutorials online, just have a seach on google.

Share this post


Link to post
Share on other sites
I think I'm going to use a database for registered users to checkout and just sessions for guests that want to run in quick and make a purchase. That way I'll get more customers as well, because some people are lazy lol.

Share this post


Link to post
Share on other sites
okay i know how sessions and arrays work but how would i use them to make a shopping cart system?

Share this post


Link to post
Share on other sites

×

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.