Skip to Content
ASP.NET 3.5 For Dummies®
book

ASP.NET 3.5 For Dummies®

by Ken Cox
February 2008
Intermediate to advanced
428 pages
8h 52m
English
For Dummies
Content preview from ASP.NET 3.5 For Dummies®

18.7. Walking Through the Shopping Cart Profile

It's time to tour your enhancements to the Small Business Starter Kit. The Web application is great for anonymous visitors because they don't need to register to add items to their cart.

18.7.1. Adding items to the cart

Follow these steps to add an item to the shopping cart using the Web interface:

  1. Browse to default.aspx, and choose Items from the main menu.

    The list of categories appears.

  2. Click the hyperlink for the Amet category.

    The subcategories of the Amet category appear.

  3. Click the second subcategory, Vestibulum.

    The items in the subcategory appear.

  4. In the Pellentesque item listing, click the Add to Cart link.

    The Shopping Cart page appears with the item in the GridView.

You now have an item in the shopping cart. You can repeat the sequence to add more items or continue to the next section to update the quantity.

18.7.2. Updating the quantity of an item

The Add to Cart link adds only one item per click to the shopping cart. However, you can edit the number on the summary page. Follow these steps to test the update capability:

  1. Browse to shopcart.aspx.

  2. In the GridView, click the Edit link on the row you want to update.

  3. In the ItemCount column, type the quantity of the item and then click the Update link.

After each update, the calculation revises the subtotal, taxes, and total cost.

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 3.5 Unleashed

ASP.NET 3.5 Unleashed

Stephen Walther
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek

Publisher Resources

ISBN: 9780470195925Purchase book