Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shopping cart

Status
Not open for further replies.

edd1eg

Programmer
Jun 27, 2003
123
GB
Hi there, my client now wants to sell there products online, i know there a lots of shopping carts out there that you can buy, but i would rather try to build one myself, i have never done anything like this before, should i buy one of these or should i try and build one myself?, are there any really good tutorials out there that can help my achieve this?.

thanks

edd
 
thread333-554571

have yet to make this a tutorial and this one is fairly crude but the code should get you going in writing and or mod's to your own

____________________________________________________
Python????? The other programming language you never thought of!
thread333-584700

onpnt2.gif
 
hi there again, i have had a look for tutorials on this but the one's that i have came across seem to think you know everything already, could anyone please let me know if there are any good tutorials out there for beginners

thanks

edd
 
Edd,

Well, I think it might depend on your experience with ASP.

When I was looking for some code for a shopping cart, I found the free stuff took too long to go over and customize to my needs. And my customer wasn't willing to shell out the $$ for one. So I built my own. 2 in fact.

I would do a google search for free asp shopping cart code:


I got plenty of results.

I built both of mine in ASP and SQL Server. I would have no problem sharing the code if you are interested. Just give me a general idea of your needs so I can be sure if my code will work for you.

Mark.
 
Hi there meckeard, thanks for your reply, well the company that i am doing it for is a computer company that sells keyboards, ink cartridges, blanks DVD's etc etc, i am actually re-designing there website for them as there's does not look that good, anyway they have a presence already on the internet at already have a shopping cart that they pay for, but its not about saving them money, its really about me learning how to do things such as shopping carts and using ASP, i hope you understand what i mean, anyway if you browse there site you will come across there shopping cart that they have already.

Another reason i want to create a shopping cart myself, is to customize it to my needs, i know with the one's that you pay for you can customize them as well, but not to a degree the way you really want it. I set up a temporary page for you to have a look at, of the new look site, i would like to put the shopping cart into the space where the flash movie is

thanks for all your help

edd
 
edd1eg,

Let us know what technologies you have knowledge of. And which ones you want to use.

Obviously, ASP. But what about the back-end? Will you use a database? Access or SQL Server? Or maybe XML?

Give us more details about the flow of the cart. Will the customer have to create an account prior to shopping?

The more details, the better.

Mark
 
Thanks Mark, i am just a Beginner at using ASP, so i do not have much knowledge of this. I would be using Access 97 for my database, and the customer will have to create an account prior to shopping.

The customer will also pay be credit card, switch card, visa etc etc, thanks for all your help Mark, much apprecieted

thanks

edd
 
Edd,

Well, I would think that since you are starting out, this will be a large effort. I found it easy, but only after 2 years of ASP.

I would start with your database first. Create your tables that will hold your info for customers, items, orders, etc. After you have a rough draft, feel free to post it so that we may help.

If you need any additional help, feel free to ask.

Mark.
 
Hi Mark,

I wouldn't know where to start to build my database, could you give me some tutorials that you have done, or any on the web that may help me, i really want to learn how to do this.

thanks

edd
 
May I recommend a very good book for beginners:
Foundation Dreamweaver UD 4 (ISBN 1903450349)

It covers step-by-step building ASP e-commerce web site with Access & SQL Server DBs including shopping cart, stored procs & server behaviors.

Complete code can be downloaded from a website.
 
what website can the complete code be downloaded from?

thanks

edd
 
If you run through this list creating simple examples and test scripts jsut as the <%=&quot;hello World!%> first ASP page you should have written you will not have any problem writing a simple cart.
carts sounds and are intimidating for some reason. I think that reason is jsut due to multiple processes needed and going on in the pages.
take it one step at a time and learn as you go.
steps to creating a shopping cart with resources and functions/methods to learn as you go.
1) HTML form
a) create the HTML form to exist around items
b) list of objects needed to control
1) quantity
2) item
3) misc. (sizes, types)
resources:

2) Validate the form to prevent bad data transfer
a) javascript validation techniques
1) quantity value (characters or numeric)
2) selections
resources:

3) Database backend
a) tables needed
1) items
2) cuntomers
3) order statistics
resources:
(MySQL)

4) When user events occur insert information to database
a) Structured Query Language
1) INSERT
2) SELECT
3) UPDATE
4) DELETE
resources:

b) recordset's
resources:

c) connections to database
resources:

d) showing database stored information

examples:

____________________________________________________
Python????? The other programming language you never thought of!
thread333-584700

onpnt2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top