All pastes #823735 Raw Edit

Caveman

public text v1 · immutable
·published 2007-12-19 15:42 UTC
rendered paste body
previewhead: [form name=paypal][t padding=5 width=90%]

previewrows: [r][c nowrap]{itemname}
[c][text {itemlabel} {itemqty} size=4 js=1]
[c]at[c right]${itemprice}
[c][text cost{itemlabel} ${itemcost} size=7 js=2]

previewfoot: [t]

confirmhead: [form name=paypal][t padding=5 width=90%]

confirmrows: [r][c nowrap]{itemname}
[c][text {itemlabel} {itemqty} size=4 js=1]
[c]at[c right]${itemprice}
[c][text cost{itemlabel} ${itemcost} size=7 js=2]

confirmfoot: [r][c cols=4 right]Subtotal
[c][text subtotal size=7 js=1]
[r][c rows=2 bottom]  U.S. Order?
 [radio usorder value=Yes {us} js=3]Yes [radio usorder value=No {intl} js=3]No
[c cols=3 right nowrap]Shipping & Handling
[c][text shipping size=7 js=1]
[r][c right cols=3]Total
[c][text total size=7][hidden itemlist {itemlist}][hidden costlist {costlist}]
[session target {cart}]
[session savedata {itemlist},itemlist,usorder,subtotal,shipping,total]
[r][c] 
[t]
[submit name=go value="Add Items"] [submit name=go value="Update Order"] [submit name=go value="Check Out"]
[session if_1 "equal '{=go}' 'Add Items' ? nextpage=store.items"]
[session if_2 "equal '{=go}' 'Update Order' ? nextpage=store.cart"] 
[session nextpage store.checkout]
[form]

paymenthead: [form name=paypal][t padding=5 width=90%]

paymentrows: [r][c nowrap]{itemname}
[c]{itemqty}[session {itemlabel} {itemqty}]
[c]at
[c right]${itemprice}
[c right]${itemcost}[session cost ${itemcost}]

paymentfoot: [r][c cols=4 right]Subtotal[c right]{subtotal}[session subtotal {subtotal}]
[r][c cols=4 right]Shipping & Handling[c right]{shipping}[session shipping {shipping}][session usorder {usorder}]
[r][c cols=4 right]Total[c right]{total}[session total {total}]
[t]