iisCART2000™ Documentation

 

iisCART2000 Sample Store Detailed Dataflow:

config.asp:
  • Include file, sets key value and other global configuration settings
 
default.asp:
  • lists items with full details in HTML or only ItemID for subsequent retrievial from items table.  This page does not use the component.  Forms post to addtocart.asp or querystring link to addtocart.asp
 
addtocart.asp:
  • object created
  • Cart loaded using loadcart method
  • Addtocart methods adds item(s) in post / querystring
  • Cart saved with savecart method
  • object destroyed
  • script redirects to displaycart.asp
 
displaycart.asp:
  • Object created
  • Cart loaded using loadcart method 
  • Cart Commands handled with HandleCommands
  • Cart values calculated prior to display with Calculate
  • Conditional check in script on the gridtotalquantity allows for alternative action if no items are in the cart, otherwise run displaycart
  • Cart Saved using savecart method
  • object destroyed
  • link provided to checkout.asp
 
CheckOut.asp:
  • Object created
  • Cart loaded using loadcart method 
  • acceptshippinginfo called
  • if no errorstring is returned calculateshipping and calculate methods called
  • Cart Saved using savecart method
  • object destroyed
  • redirect to showtotal.asp
 
ShowTotal.asp:
  • Object created
  • Cart loaded using loadcart method 
  • displaycartreadonly is called
  • Various info object data displayed
  • Cart Saved using savecart method
  • object destroyed
 
Billing.asp:
  • Object created
  • Cart loaded using loadcart method 
  • AcceptBillingInfo populates info collection and returns error string if any
  • There is no error the saveorderdb method is called
  • Cart Saved using savecart method
  • object destroyed
  • redirect to thankyou.asp
 
Thankyou.asp:
  • Plain HTML / ASP.  Could use the component to display information on the order.
  • Session abandoned

 

Corporate Web Solutions 1998, 1999, 2000, 2001.