session_start(); # Set pricing and Names for all Itmes $_SESSION['rrp_prod1'] = 50.00; // This is the price used to calculate against quantities $_SESSION['itm_prod1'] = "Packing Sand"; // This is the name PayPal will see $_SESSION['rrp_prod2'] = 45.00; $_SESSION['itm_prod2'] = "Blended Top Soil"; $_SESSION['rrp_prod3'] = 27.00; $_SESSION['itm_prod3'] = "Budget Soil"; $_SESSION['rrp_prod4'] = 55.00; $_SESSION['itm_prod4'] = "Crushed Rock"; $_SESSION['rrp_prod5'] = 59.50; $_SESSION['itm_prod5'] = "Screenings 20mm"; $_SESSION['rrp_prod6'] = 110.00; $_SESSION['itm_prod6'] = "Volcanic Rock"; $_SESSION['rrp_prod7'] = 3.50; $_SESSION['itm_prod7'] = "Blue Stone Pitchers"; $_SESSION['rrp_prod8'] = 75.00; $_SESSION['itm_prod8'] = "Tynong Topping"; $_SESSION['rrp_prod9'] = 60.00; $_SESSION['itm_prod9'] = "Garden Mulch"; $_SESSION['rrp_prod10'] = 6.50; $_SESSION['itm_prod10'] = "Rapid Set Concrete 20KG Bag"; $_SESSION['rrp_prod11'] = 7.95; $_SESSION['itm_prod11'] = "General Purpose Cement 20KG Bag"; $_SESSION['rrp_prod12'] = 6.15; $_SESSION['itm_prod12'] = "Concrete Mix 20KG Bag"; $_SESSION['rrp_prod13'] = 6.20; $_SESSION['itm_prod13'] = "Mortar Mix 20KG Bag"; /*******************************************************************************************************/ if($_POST["hidAction"] == "send_order") { $msg = '
PRODUCT | QTY |
UNIT PRICE | TOTAL | |
'.$_SESSION['itm_prod'.$i].' | '.$_POST["qty_prod".$i].' |
'.number_format($_SESSION['rrp_prod'.$i],2,'.','').' | '.number_format((($_SESSION['rrp_prod'.$i])*($_POST["qty_prod".$i])),2,'.','').' | |
SUB TOTAL = | '.$_POST["stotal"].' | |||
GST = | '.$_POST["gst"].' | |||
TOTAL = | '.$_POST["total"].' |
© echo date('Y'); ?> Tanami Excavations Pty Ltd.
All rights reserved. |