/*first set variables to be used in this template that will be used for applying to custom tags as well as displaying on the page that need to be formatted first*/ this_b_nameFirst = UCASE(SESSION.b_nameFirst); this_b_nameLast = UCASE(SESSION.b_namelast); this_b_company = UCASE(SESSION.b_company); this_b_address1 = UCASE(SESSION.b_address1); this_b_address2 = UCASE(SESSION.b_address2); this_b_city = UCASE(SESSION.b_city); this_b_state = SESSION.b_state; this_b_zipcode = SESSION.b_zipcode; //contact info this_firstName = makeTitleCase(SESSION.firstName); this_lastName = makeTitleCase(SESSION.lastName); this_email = LCASE(SESSION.email); this_phone = SESSION.phone; this_fax = SESSION.fax; //this is only if coming from checkout2 AND box was checked, not yourAccount, so now changes needed to for this page when coming from yourAccount? shippingSameAsBilling = false; if (IsDefined("checkbox_usebilling")){ shippingSameAsBilling = true; } if (shippingSameAsBilling){ this_s_nameFirst = this_b_nameFirst; this_s_nameLast = this_b_nameLast; this_s_company = this_b_company; this_s_address1 = this_b_address1; this_s_address2 = this_b_address2; this_s_city = this_b_city; this_s_state = this_b_state; this_s_zipcode = this_b_zipcode; }else{ this_s_nameFirst = UCASE(SESSION.s_nameFirst); this_s_nameLast = UCASE(SESSION.s_nameLast); this_s_company = UCASE(SESSION.s_company); this_s_address1 = UCASE(SESSION.s_address1); this_s_address2 = UCASE(SESSION.s_address2); this_s_city = UCASE(SESSION.s_city); this_s_state = SESSION.s_state; this_s_zipcode = SESSION.s_zipcode; } this_poNumber = HTMLEditFormat(SESSION.ponumber); this_specialInstructions = HTMLEditFormat(SESSION.specialInstructions); this_ccnumberVisible = SESSION.ccnumber; this_ccmonth = SESSION.ccmonth; this_ccyear = SESSION.ccyear; switch(Left(this_ccnumberVisible, 1)){ case "4" : this_cctypeLong = "Visa"; this_ccnumberMasked = "************" & right(this_ccnumberVisible, 4); break; case "5" : this_cctypeLong = "MasterCard"; this_ccnumberMasked = "************" & right(this_ccnumberVisible, 4); break; case "6" : this_cctypeLong = "Discover"; this_ccnumberMasked = "************" & right(this_ccnumberVisible, 4); break; case "3" : this_cctypeLong = "American Express"; this_ccnumberMasked = "***********" & right(this_ccnumberVisible, 3); break; default : this_cctypeLong = "none"; this_ccnumberMasked = "0000000000000000"; }
SESSION.testRequest #SESSION.testRequest#
SESSION.ccnumber #SESSION.ccnumber#
SESSION.testRequest #SESSION.testRequest#
SESSION.ccnumber #SESSION.ccnumber#
--->
billing info
#this_b_nameFirst# #this_b_nameLast#
#this_b_company#
#this_b_address1#
#this_b_address2#
#this_b_city#, #this_b_state#   #this_b_zipcode#
change/edit

payment info
#this_cctypeLong#
#this_ccnumberMasked#
#this_ccmonth#/#this_ccyear#
change/edit
shipping info
#this_s_nameFirst# #this_s_nameLast#
#this_s_company#
#this_s_address1#
#this_s_address2#
#this_s_city#, #this_s_state#   #this_s_zipcode#
change/edit

contact info
#this_firstName# #this_lastName#
#this_email#
#this_phone#
#this_fax# (fax)
change/edit







ERROR: checkoutOrYourAccount #checkoutOrYourAccount#