Notes
Concept
independent shopping cart linked to paypal
takes all values from query string - can work without a catalog
stores all cart values in dbase .. item, price
no customer or billing info stored .. ref # to paypal dbase
Files:
dbase: demo_cart.mdb
cart: scart.aspx
style: scart.css
settings: web.config
query string variables
example query string
http://www.robertfullerton.com/cart/scart.aspx?type=add&ref=12&desc=CD+ROM&qty=1&t1=yes&t2=yes&pr=1.05
type = add
ref=12 (product code or id)
desc = CD+ROM (product description - encoded)
qty=1
t1=yes (pst - yes or no)
t2=yes (gst - yes or no)
pr=1.05 (price)
todo yet
integrate cart cokkie logic for hdr
a tax total is being passed to paypal -- not showing
tax 1 and 2 flags not owrking
shipping?
|