Skip to Content
Active Server Pages 3.0 from Scratch
book

Active Server Pages 3.0 from Scratch

by Nicholas Chase
December 1999
Beginner
416 pages
9h 41m
English
Que
Content preview from Active Server Pages 3.0 from Scratch

Taking Orders

At this point our customers can do everything but actually order products. Because that's the whole idea, let's go ahead and give them that opportunity.

Ordering products basically consists of three steps:

  • Adding a product to your cart

  • Reviewing the order

  • Submitting the order

Adding a Product to Your Cart

The best time for us to get a customer to add a product to their cart is when they're actually looking at it. With that in mind, we want to add a button to the product page that will allow them to do this as painlessly as possible. Let's open baz_product.asp and prepare the layout, taking into account the addition of the search form (see Listing 7.16).

Code Listing 7.16. Preparing to add the shopping cart
 0: <%@ LANGUAGE="VBSCRIPT" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ASP.NET 2.0 Unleashed

ASP.NET 2.0 Unleashed

Stephen Walther
ASP.NET 2.0 Illustrated

ASP.NET 2.0 Illustrated

Alex Homer, Dave Sussman
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek

Publisher Resources

ISBN: 0789722615Purchase book