jwk811 Posted October 28, 2006 Share Posted October 28, 2006 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.. Link to comment https://forums.phpfreaks.com/topic/25365-carts/ Share on other sites More sharing options...
tobydeh Posted October 28, 2006 Share Posted October 28, 2006 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. Link to comment https://forums.phpfreaks.com/topic/25365-carts/#findComment-115651 Share on other sites More sharing options...
jwk811 Posted October 28, 2006 Author Share Posted October 28, 2006 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. Link to comment https://forums.phpfreaks.com/topic/25365-carts/#findComment-115656 Share on other sites More sharing options...
jwk811 Posted October 28, 2006 Author Share Posted October 28, 2006 okay i know how sessions and arrays work but how would i use them to make a shopping cart system? Link to comment https://forums.phpfreaks.com/topic/25365-carts/#findComment-115667 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.