<% 'Check if cart is empty If IsArray(Session("cart")) = false Then Dim acart(19,1) Session("cart") = acart else acart=session("cart") end if cempty=true for i=lbound(acart) to ubound(acart) if acart(i,0)<>"" and acart(i,1)<>"" then cempty=false end if next %> Phoolwala - Review your Cart
Home  |  Category  |  Season's Special  |  Express Delivery  |  Gift Reminder  |  Free Flowers  |  Delivery Info  |
    Next Day Flowers across India View Cart || Track Your Order  
   

<% 'add to shopping bag 'create cart If cempty Then %>

Empty Cart

· Hey ! Your Shopping Cart is Empty!


<% else %>

Contents of Shopping Cart

· Change your order by clicking on the item name below.
· Delete an item by clicking the "delete item" button to the left of it.
· Continue shopping by selecting a department above.


<% 'Display contents of shopping cart acart=session("cart") subtotal=0 for i=lbound(acart) to ubound(acart) if acart(i,0)<>"" and acart(i,1)<>"" then Dim rscart Set rscart = Server.CreateObject("ADODB.Recordset") Dim strSQLE strSQLE="SELECT * FROM com_products where pro_id LIKE '" & acart(i,0) &"%'" rscart.Open strSQLE, conTOdb 'set rscart=db.execute("select Product_Name, Product_Code, Price, Sale_Price from prod_data where productid=" & acart(i,0)) currentprice=rscart("pro_price") %> <% subtotal=subtotal+(pro_price* qty) end if next tax=subtotal*taxrate/100 %>
Delete  Item  Quantity  Price Each  Total 
delete <%= rscart("pro_name") %>
<% qty = acart(i,1) response.write qty %> <% pro_price =cursymbol & formatnumber(currentprice) Response.write pro_price %> <% total_price = formatnumber(qty*pro_price) Response.write total_price%>

Grand Total: <%= cursymbol & formatnumber(subtotal+tax) %>

     <% end if %>



 
   
         
* Copyright (C) Bloom Florists Pvt. Ltd. 2005-13 If you need the content, please let us know the purpose and we'll send you authorization as possible. Legal Notice >>>