%@ LANGUAGE="VBSCRIPT" %>
<% Option Explicit %>
<%
Response.Expires = 60
Response.Expiresabsolute=Now()-2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "no-cache"
Dim currentoptionGroupID
Dim currentoptionGroupType
Dim optionprice
Dim optionGroupCount
Dim priceAdjustment
Dim resumeNegative2
optionGroupCount = 0
returnPage = request.queryString("rp")
%>
<% =session("storePageTitle") %>
View Cart
<%
loadCart()
if ds.bof OR ds.eof then
session("noItemsInCart") = 0 %>No items are currently in your shopping cart.<% if returnPage<>"" then %>
Resume shopping.<% end if %><% else %>
Below are the items in your shopping Cart. You can remove items, change quantities, resume shopping, or checkout. If you change quantities, please click Update.
Product
Qty
Price
Sub Total
<%
cartTotal = 0
k = 1
do until ds.eof
if ds("productID") <> 0 then
k = k + 1
if k > 2 then k = 1 %>
<% cartTotal = cartTotal + vc_subTotal
'end if
end if ' productID <> 0
ds.movenext
loop
%>
Order Total
<% =formatCurr(cartTotal, 2) %>
<% if returnPage<>"" then %><% end if %>
<% end if ' ds.bof OR ds.eof
ds.close
set ds = nothing
objConn.close %>
<% ' ERROR REPORTING - DON'T REMOVE!
if dMode <> true AND err.number <> 0 then
j = lookupPageName
for i = 0 to err.Count
reportError err.number, err.description, err.source, j
next 'i
end if %>