|
-
Jun 3rd, 2003, 05:08 AM
#1
Thread Starter
^:^...ANGEL...^:^
Shopping Cart...
Hi I need to make a Shopping Cart and can some one suggest me how should I implement it...
I mean I am not much more confident about using cookies and make sure that it don't get used next time...
If someone can show me how to add 2 items and then retrive it when viewing cart and how to delete 1 of them I would really appreciate it...
I am using ASP.NET / VB.NET
Cheers...
-
Jun 3rd, 2003, 09:18 AM
#2
PowerPoster
Use a database as your datastore, not cookies.
-
Jun 3rd, 2003, 11:55 AM
#3
Lively Member
Shopping Cart Using DataTables
I'm in the process of building a shopping cart, and I've come accross a great tutorial that uses DataTables to store the items and quantities for the carts.
www.sitepoint.com/print/1055
-
Jun 3rd, 2003, 06:14 PM
#4
Thread Starter
^:^...ANGEL...^:^
Originally posted by Lethal
Use a database as your datastore, not cookies.
What will happen when 10 ppl uses it same time...How am I going to recognize that users has already done the check out or logoff without even bothering what he/she added in cart...
What if all 10 are trying to access the data at the same time...???
Can u give some hint please...??? Actually I was thinking of Database option myself...
Cheers...
-
Jun 3rd, 2003, 06:18 PM
#5
Thread Starter
^:^...ANGEL...^:^
Re: Shopping Cart Using DataTables
Originally posted by PedroDePacos
I'm in the process of building a shopping cart, and I've come accross a great tutorial that uses DataTables to store the items and quantities for the carts.
www.sitepoint.com/print/1055
Thanks for that M8...I will check it out but can I ask you to do me a favour...Can u post me the code what u have made so far...???
Nothing serious if u think its not good for you to give me the code then its cool too...
Cheers...
-
Jun 3rd, 2003, 09:57 PM
#6
Lively Member
DataTable
Here's a quote from the article...
DataTables provide you with a way to dynamically create a purely memory-resident representation of a database table. Typically, you'd fill a DataTable from an existing database, but you could also create one programmatically, as will be the case here.
From what I gather, creating the shopping cart with a DataTable is pretty similar to keeping the shopping cart information in a table in your database.
-
Jun 4th, 2003, 02:56 AM
#7
Thread Starter
^:^...ANGEL...^:^
Re: DataTable
Originally posted by PedroDePacos
Here's a quote from the article...
From what I gather, creating the shopping cart with a DataTable is pretty similar to keeping the shopping cart information in a table in your database.
OK I will check that out...
Cheers...
-
Jun 5th, 2003, 02:38 AM
#8
Thread Starter
^:^...ANGEL...^:^
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|