Laddawn.com : Cart Summary Panel on Checkout

Overview: Every checkout step has a panel on the right side that tells the user the breakdown of the cart’s value.

Process:

  • ShoppingCartRepository.GetOrderValue
    • Input Parameters
      • ContactNbr
      • CartName
      • WebDiscPct
  • Call RPC$SHOPPINGCART_GETORDERVALUE
    • Input Parameters
      • CONTACT.NBR
      • CART.NAME
      • WEB.DISCPCT
    • Output Fields
      • STOCK.VALUE
      • MOD.VALUE
      • WEB.DISCOUNT
      • UPCHARGES
  • Build Return Collection
    • Add WebOption
      • Name = Product Total
      • Value = STOCK.VALUE + MOD Value
    • Add WebOption
      • Name = Web Discount
      • Value = WEB.DISCOUNT
    • Add Upcharges:
      • Name = Upcharges
      • Value = UPCHARGES
  • Return WebOptionCollection
  • Controller Routine
    • CartController.GetCartCostSummary
      • Call ShoppincartRepository.GetOrderValue
      • Translate resulting collection to Model properties.  Add any missing properties needed (Like upcharges).
      • CostSummary view, make displaying the upcharges line dependant on the upcharges value being > 0.
  • Visual Design:

      • Instead of Inside Delivery, we are going to use the more generic term Handling Charges.

Attachments: