Senin, 09 Februari 2009

An e-Commerce Site

The following set of tutorials lead you through the steps for developing a commercial Web site. As the example, we'll be using the eCommerce.mdb database of products. The items will be offered for on-line sale. There will be occasion with this example to explore most of the considerations in developing an on-line store. You can view the Web site by clicking the eCommerce Development link in the menu to the left. The following illustration outlines the pages and linking mechanisms that compose a typical e-Commerce site. The main pieces of this system are described below

home.php Page

The product search feature is part of all pages as the basic navigation technique. We provide a couple of ways of looking for products: viewing a list of items within particular product categories and keyword searching for products. At the same time, we keep track of visitors as they move from page to page. A mechanism is set up to identify the user and to keep this piece of information alive throughout the visit. A unique order number is assigned for this purpose.

search.php Page

The search routines produce a page listing all of the products in the category or all the products that match the search criterion. When the user clicks on a category or submits a search word, that information is passed to the search.asp page used in locating the products.

detail.php Page

When a particular item is selected on the search.asp page, this action links to the detail.asp page where full information about the product--including a picture--is displayed. The detail.asp page needs to receive the product identification to call up the information. From this page the user can look for other products or can purchase this product. We provide a "Buy" button for adding this item to the visitor's shopping cart. We add to the shopping cart on this page and then link to the shopcart.asp page so the visitor can view the accumulation of products in the shopping cart. Again, the search menu is accessible for returning to shopping.

shopcart.php Page

The shopping cart page lists the shopping cart items and provides the visitor with an opportunity to change item quantities or delete items. When the visitor is ready to purchase the items, a link is made to the creditcheck.asp page.

creditcheck.php Page

You don't need to write this page. You just need to link to it and provide an order identification, an order amount, and the name of the return page. I'll be the credit card company which corresponds with the customer over my secure connection. The credit card company returns a confirmation code and the billing information is has collected to your order capture page.

ordercapture.php Page

After receiving the return code from the credit card company, there are some final housekeeping tasks that take place behind the scenes on this page, one of which is to issue a new order identifier number in case the visitor wishes to continue shopping. The shopping cart items for the customer are deleted and order header and order detail records are created to produce a permanent order record for the customer. These records can be used to recreate the order at a later date.Finally, we issue an email confirmation if the customer has provided an email address.

salesorder.php Page

This page displays the final sales order for the customer to confirm the sale and print a copy. Rejected orders display a confirmation message.

As we get into the design and coding of these pages, other issues will come up that we'll need to deal with. Also, we'll probably think of new features that should be added to the pages. Still, we've got a pretty good idea of where we're going and how it all needs to work together.


--------------------------------------------------

Related :

Trik vb.net2008 code
basic io explorer vb2005
checking if files exist vb2005
Connecting passworded server another domain
Connecting reading from excel VBnet
copy files created between date
Copy Picture from Database
list disk drive vb2005
list file in vb2005
list sub forlder vb2005
Load exe file run from memory
move diferrent location vb2005
network connections VisualBasic2005
open multiple image no OpenFileDialog
play audio files VisualBasic2005