% ' Begin A Transaction UpdateUser Con.BeginTrans ' Retrieve Registration Information sqlString = "SELECT * FROM users " &_ "WHERE user_id=" & userID SET RS = Con.Execute( sqlString ) IF NOT RS.EOF THEN username = RS( "user_username" ) firstname = RS( "user_firstname" ) lastname = RS( "user_lastname" ) email = RS( "user_email" ) street = RS( "user_street" ) street2 = RS( "user_street2" ) city = RS( "user_city" ) state = RS( "user_state" ) zip = RS( "user_zip" ) country = RS( "user_country" ) cctype = RS( "user_cctype" ) END IF ' Transfer cart to orders table ' Define Constants CONST CARTPID = 0 CONST CARTPUSERID = 1 CONST CARTPNAME = 2 CONST CARTPPRICE = 3 CONST CARTPQUANTITY = 4 ' Check the Shopping Cart localCart = Session( "cart" ) IF localCart( CARTPID, 0 ) = "" THEN MessageText = "Sorry your Shopping Cart Expired - Please Choose your Cart again" ELSE MessageText = "Thanks for placing your order" END IF if Session( "selected_currency" ) = "" then Cooky_Currency = Request.Cookies( "UserCurrency" ) if Cooky_Currency = "" then SelCurrency = "USD" else SelCurrency = Cooky_Currency end if Session( "selected_currency" ) = SelCurrency else SelCurrency = Session( "selected_currency" ) end if PurchaseCurrency = SelCurrency %>
|
Invoice Summary
<%if shipgst > 0 then %> * - Total is GST inclusive <%end if %> You can track the status of your order at any time by clicking Order Status on the Side Bar <% IF cctype = "Check" THEN %> <%ELSE%>
|