|
 |
asp_web_howto thread: How to create a shopping cart?
Message #1 by "Beena Arjunan" <beena.arjunan@u...> on Tue, 20 Mar 2001 11:19:23
|
|
Hi everybody,
Is there anyone out there who could help me to write
a program for a simple shopping cart?
It would be nice if u could give me some general directions.
I would prefer to write the prg.on my own!But someone
please tell me how do i start.
Any help will be greatly appreciated.
Thanks :-),
Beena.
Message #2 by "Eric Van Camp" <eric@a...> on Tue, 20 Mar 2001 14:16:43 -0000
|
|
you could work with a sessionarray. start with defining the array with which
you want to shop...
the sessionarray has the same characteristics as your array you are to
define!
see to it that the array can contain all the necessary data you will need to
process your order..as there are: productid, typeid,quatnity, order or
offer, etc...
you add something to the basket, so you put it in the array and afterwards
you equal to the sessionarray to store the values into the session
variable...
deleting and adding quantity is roughly the same.
by processing the complete order, write it to the database together with
ordernr ( in ordersdatabase with order delivery info)
and orderitems to the orderitemsdatabase (here together with a ref to the
ordernr)
if everything is written to the database, empty the session variable and you
are through the complete process..
happy programming!
-----Original Message-----
From: Beena Arjunan [mailto:beena.arjunan@u...]
Sent: Tuesday, March 20, 2001 11:19 AM
To: ASP Web HowTo
Subject: [asp_web_howto] How to create a shopping cart?
Hi everybody,
Is there anyone out there who could help me to write
a program for a simple shopping cart?
It would be nice if u could give me some general directions.
I would prefer to write the prg.on my own!But someone
please tell me how do i start.
Any help will be greatly appreciated.
Thanks :-),
Beena.
---
SoftArtisans helps developers build robust, scalable Web applications!
Excel Web reports, charts: http://www.softartisans.com/excelwriter.html
File uploads: http://www.softartisans.com/saf.html
Transactional file management: http://www.softartisans.com/saf1.html
Scalability: http://www.softartisans.com/saxsession.html
ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html
$subst('Email.Unsub')
Message #3 by Shaun Steckley <SSTECKLEY@P...> on Tue, 20 Mar 2001 08:50:19 -0500
|
|
Wrox's E-Commerce book has a complete example...
-----Original Message-----
From: Beena Arjunan [mailto:beena.arjunan@u...]
Sent: Tuesday, March 20, 2001 6:19 AM
To: ASP Web HowTo
Subject: [asp_web_howto] How to create a shopping cart?
Hi everybody,
Is there anyone out there who could help me to write
a program for a simple shopping cart?
It would be nice if u could give me some general directions.
I would prefer to write the prg.on my own!But someone
please tell me how do i start.
Any help will be greatly appreciated.
Thanks :-),
Beena.
Message #4 by "Daniel O'Dorisio" <dodorisio@h...> on Tue, 20 Mar 2001 08:38:56 -0500
|
|
my 2 cents.... look at _beginning e-Commerce_ by Matthew Reynolds (Wrox) it
is pretty good. and I like the approach he takes. but one consideration, he
uses COM, so if you can use custom components on the server, you can still
re-write all the com components in the actual vb code, I have done it. he
covers everything from the db design, to marketing the site.
Daniel
-----Original Message-----
From: Eric Van Camp [mailto:eric@a...]
Sent: Tuesday, March 20, 2001 9:17 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: How to create a shopping cart?
you could work with a sessionarray. start with defining the array with which
you want to shop...
the sessionarray has the same characteristics as your array you are to
define!
see to it that the array can contain all the necessary data you will need to
process your order..as there are: productid, typeid,quatnity, order or
offer, etc...
you add something to the basket, so you put it in the array and afterwards
you equal to the sessionarray to store the values into the session
variable...
deleting and adding quantity is roughly the same.
by processing the complete order, write it to the database together with
ordernr ( in ordersdatabase with order delivery info)
and orderitems to the orderitemsdatabase (here together with a ref to the
ordernr)
if everything is written to the database, empty the session variable and you
are through the complete process..
happy programming!
-----Original Message-----
From: Beena Arjunan [mailto:beena.arjunan@u...]
Sent: Tuesday, March 20, 2001 11:19 AM
To: ASP Web HowTo
Subject: [asp_web_howto] How to create a shopping cart?
Hi everybody,
Is there anyone out there who could help me to write
a program for a simple shopping cart?
It would be nice if u could give me some general directions.
I would prefer to write the prg.on my own!But someone
please tell me how do i start.
Any help will be greatly appreciated.
Thanks :-),
Beena.
Message #5 by "John Olival" <john@r...> on Tue, 20 Mar 2001 18:30:09 -0000
|
|
Try the following:
http://www.asp101.com/samples/shopping.asp
Very simple and easy to understand. You'll have to work through the code a
bit.
HTH
John
----- Original Message -----
From: "Shaun Steckley" <SSTECKLEY@P...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Tuesday, March 20, 2001 1:50 PM
Subject: [asp_web_howto] RE: How to create a shopping cart?
> Wrox's E-Commerce book has a complete example...
>
> -----Original Message-----
> From: Beena Arjunan [mailto:beena.arjunan@u...]
> Sent: Tuesday, March 20, 2001 6:19 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] How to create a shopping cart?
>
>
> Hi everybody,
>
> Is there anyone out there who could help me to write
> a program for a simple shopping cart?
> It would be nice if u could give me some general directions.
> I would prefer to write the prg.on my own!But someone
> please tell me how do i start.
>
> Any help will be greatly appreciated.
> Thanks :-),
> Beena.
>
> ---
> SoftArtisans helps developers build robust, scalable Web applications!
> Excel Web reports, charts: http://www.softartisans.com/excelwriter.html
> File uploads: http://www.softartisans.com/saf.html
> Transactional file management: http://www.softartisans.com/saf1.html
> Scalability: http://www.softartisans.com/saxsession.html
> ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html
$subst('Email.Unsub')
>
>
Message #6 by "rohith shetty" <crohith@h...> on Wed, 21 Mar 2001 17:03:03 -0000
|
|
Hello I'm sure you got a lot of good suggestions already but I also wanted
to suggest this one book regarding Asp databases that helps a lot with
shopping carts. It does not have a shopping cart example but gives a
good foundation for interacting with databases. (Beginning ASP Database
By John Kauffman)
-Rohith
>From: "Beena Arjunan"
>Reply-To: "ASP Web HowTo"
>To: "ASP Web HowTo"
>Subject: [asp_web_howto] How to create a shopping cart?
>Date: Tue, 20 Mar 2001 11:19:23
>
>Hi everybody,
>
>Is there anyone out there who could help me to write
>a program for a simple shopping cart?
>It would be nice if u could give me some general directions.
>I would prefer to write the prg.on my own!But someone
>please tell me how do i start.
>
>Any help will be greatly appreciated.
>Thanks :-),
>Beena.
|
|
 |