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.

Get ASP.NET 3.5 For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.