TPC Web Commerce Benchmark (TPC-W)


Buy Request Page


Billing Information:

 

Shipping Information:

Firstname:    Street 1: 
Lastname:    Street 2: 
Street 1:    City: 
Street 2:    State: 
City:    Zip: 
State:    Country: 
Zip:   
Country:   
E-mail:   
Phone:   
Username:   
C_ID:   

Order Information:

"; echo ""; echo ""; echo "\n"; $sc_sub_total = $sc_sub_total + (double)$scl_cost[$key] * (double)$scl_qty[$key]; $sum_qty += $scl_qty[$key]; } $sc_sub_total = sprintf("%.2f", $sc_sub_total); $sc_tax = sprintf("%.2f", $sc_sub_total * 0.0825); $sc_ship_cost = 3.00 + (double)$sum_qty; $sc_total = $sc_sub_total + $sc_ship_cost + $sc_tax; session_register('sc_sub_total', 'sc_tax', 'sc_ship_cost', 'sc_total'); $_SESSION['sc_sub_total'] = $sc_sub_total; $_SESSION['sc_tax'] = $sc_tax; $_SESSION['sc_ship_cost'] = $sc_ship_cost; $_SESSION['sc_total'] = $sc_total; ?>
Qty: Product:
" . $scl_qty[$key] . "

"; echo "" . $scl_title[$key] . " - Backing: " . $scl_backing[$key]; echo " (ID:" . $scl_i_id[$key] . ") "; echo "
"; echo "SRP. $" . $scl_srp[$key] . ", "; echo "Your Price: $" . $scl_cost[$key] . ""; echo "


Subtotal with discount (%):  $
Tax:  $
Shipping & Handling:  $
Total:  $


Credit Card Type VISA  MASTERCARD  DISCOVER  AMERICAN EXPRESS  DINERS 
Name on Credit Card
Credit Card Number
Credit Card Expiration Date
Shipping Method AIR  UPS  FEDEX  SHIP  COURIER  MAIL 
"> ">
\n"; ?>