Jump to content


Photo

Carts


  • Please log in to reply
3 replies to this topic

#1 jwk811

jwk811
  • Members
  • PipPipPip
  • Advanced Member
  • 714 posts

Posted 28 October 2006 - 12:03 AM

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..

#2 tobydeh

tobydeh
  • New Members
  • Pip
  • Newbie
  • 7 posts
  • LocationLondon -UK

Posted 28 October 2006 - 12:13 AM

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.
There are many ways to skin a cat!

#3 jwk811

jwk811
  • Members
  • PipPipPip
  • Advanced Member
  • 714 posts

Posted 28 October 2006 - 12:18 AM

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.

#4 jwk811

jwk811
  • Members
  • PipPipPip
  • Advanced Member
  • 714 posts

Posted 28 October 2006 - 01:24 AM

okay i know how sessions and arrays work but how would i use them to make a shopping cart system?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users