<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%> <% // WA eCart AddToCart if (String(Request.Form("WA_eCart1_1_ATC")) != "undefined" || String(Request.Form("WA_eCart1_1_ATC.x")) != "undefined") { var ATC_itemID = String(Request.Form("WA_eCart1_1_ID_Add")); var ATC_AddIfIn = 0; var ATC_RedirectAfter = "/AmFir/eBooks-eResearch/OrderProcessingPages/CartDisplay.asp"; var ATC_RedirectIfIn = ""; var ATC_itemName = "";// column binding var ATC_itemDescription = "";// column binding var ATC_itemWeight = parseFloat("0");// column binding var ATC_itemQuantity = "" + String(Request.Form("WA_eCart1_1_Quantity_Add")) + "";// column binding var ATC_itemPrice = parseFloat("1.15");// column binding ATC_itemQuantity = parseFloat(ATC_itemQuantity); if (!isNaN(ATC_itemQuantity) && ATC_itemQuantity != 0) { WA_eCart1.AddToCart(ATC_AddIfIn, ATC_RedirectIfIn, ATC_itemID, ATC_itemName, ATC_itemDescription, ATC_itemWeight, ATC_itemQuantity, ATC_itemPrice); if (ATC_RedirectAfter != "" && WA_eCart1_redirStr == "") { WA_eCart1_redirStr = ATC_RedirectAfter; } Session("WAEC_ContinueRedirect") = String(Request.ServerVariables("Script_Name")) + "?" + String(Request.QueryString()); } } %> <% // WA eCart Clear Cart if (String(Request.Form("WA_eCart1_Clear")) != "undefined" || String(Request.Form("WA_eCart1_Clear.x")) != "undefined") { WA_eCart1.ClearCart(); var Redirect_redirStr=""; if (Redirect_redirStr != "") { WA_eCart1_redirStr = Redirect_redirStr; } WA_eCart1_cartAction = "ClearCart"; } %> <% //WA eCart Redirect Check Out if (String(Request.Form("WA_eCart1_Checkout")) != "undefined" || String(Request.Form("WA_eCart1_Checkout.x")) != "undefined") { var Redirect_redirStr=""; if (Redirect_redirStr != "") { if (String(Request.QueryString()) != "undefined" && String(Request.QueryString()) != "") { if (Redirect_redirStr.indexOf("?") < 0) { Redirect_redirStr += "?" + Request.QueryString(); } else { Redirect_redirStr += "&" + Request.QueryString(); } } WA_eCart1_redirStr = Redirect_redirStr; } WA_eCart1_cartAction = "Checkout"; } %> <% // WA eCart Redirect if (WA_eCart1_redirStr != "") { Response.Redirect(WA_eCart1_redirStr); } %> Untitled Document This is a test of this page CatPage3.asp.

 

 

<%=((String(Request.ServerVariables("QUERY_STRING")) != "undefined" && Request.ServerVariables("QUERY_STRING") != "")?"?"+Request.ServerVariables("QUERY_STRING"):"")%>">
QUICKCART Number of Items:  <%=WA_eCart1.TotalColumn("Quantity")%>   |  Total  <%=WA_eCart_DisplayMoney(WA_eCart1, WA_eCart1.GrandTotal())%>
View Cart

 

Cortez Trend sample article.

<%=((String(Request.ServerVariables("QUERY_STRING")) != "undefined" && Request.ServerVariables("QUERY_STRING") != "")?"?"+Request.ServerVariables("QUERY_STRING"):"")%>">