UC4::Add to shopping cart
Overview
The buyer adds a selected item to the shopping cart. The item will be retained within the list of items in the cart such that it is available when the buyer has finished shopping and wishes to pay for their goods.
Document History
  1. Current Version1.2
  2. 1.1odlingsmee; 20 Sep 2009 ; Initial Revision
  3. 1.2odlingsmee; 30 Sep 2009 ; Added main flow
  4. 1.3odlingsmee; 30 Sep 2009 ; Added detailed requirements associated with flow.
  5. 1.4odlingsmee; 17 Jan 2010 ; Assigned to release-1
Properties
  • TriggerA buyer see a product or service that they wish to purchase.
  • GoalTo add the selected product to the shopping cart.
  • Primary ActorBuyer
  • Pre-RequisitesThe buyer shall be [UC1] logged on and be in the process of [UC6] viewing a product.
  • Success OutcomeThe buyer will have add the selected item to the shopping cart and be able to continue with their shopping.
  • Failure OutcomeThe merchant will not have been able to add the item to the shopping cart - the system will have generated error messages and advice as to the appropriate recourse should they still wish to purchase the item.
  • Priority2
  • Complexity3
  • target release release-1
  • Trace from[UC6] View Products
  • Trace to[UC6] View Products; [UC5] Checkout
  • Packageorder
Basic Flow
  1. The buyer [RQ25] the product they wish to add to the [RQ26] shopping cart.
  2. The buyer selects the "add to cart" option
  3. The shopping cart is [RQ19] updated with new product.
  4. The [RQ18] value of all the items is re-calculated and displayed to the buyer in their [RQ14] own currency.
  5. The buyer can [UC6] continue to browse the products or [UC5] pay for the items that are in the shopping cart.
  6. The use-case ends.
Alternative Flows
Product already in shopping cart

At step 3 of the Main flow when Shopping cart already contains product

  1. As the item is already present in the shopping cart, the [RQ20] quantity of the product is incremented by one.
  2. The flow of events continues from step 4 of the Main flow.
Specific Requirements
  • [RQ25] Select products for purchase:The system shall allow the buyer to select products for purchase (agreed)
  • [RQ26] Shopping Cart:The system shall support the concept of a user's shopping cart such that zero or more items can be stored for purchase. (agreed)
  • [RQ19] Shopping cart default quantities:When products are added to the cart the system shall assume a quantity of 1 (one) is required. (agreed)
  • [RQ18] Shopping cart running total:The application shall calculate a running total of all the products in the shopping cart. This will not include shipping or gift wrap costs. (agreed)
  • [RQ14] Multi-currency support:The application shall support multiple-currencies. (agreed)
  • [RQ20] Product already in cart:When a product that aleady exists is added to the shopping cart, the system shall increment the quantity by 1 (one). (proposed)
  • [RQ27] Permission based controls:The system shall only allow access to functions that are associated with the permissions of the current user. (agreed)
Activity Diagram