<%@ page language="java" session="true"%> <%@ page import="java.text.DecimalFormat" %> <%@ include file="header.jsp" %> <% String AliasCount =request.getParameter("AliasCount"); %>
USER BASKET

<% double tot1=0.0,tot2=0.0,total=0.0; String chk1=request.getParameter("chk1")==null?"":request.getParameter("chk1"); if(chk1.equals("on")) { tot1=Double.parseDouble(request.getParameter("price1"))*Integer.parseInt(request.getParameter("qty1")); total+=tot1; String name1=request.getParameter("name1"); %> <% } %> <% String chk2=request.getParameter("chk2")==null?"":request.getParameter("chk2"); if(chk2.equals("on")) { tot2=Double.parseDouble(request.getParameter("price2"))*Integer.parseInt(request.getParameter("qty2")); total+=tot2; String name2=request.getParameter("name2"); %> <% } %>

Product Name

Unit Price

Quantity

Price

<%= name1 %> <%=Double.parseDouble(request.getParameter("price1")) %> <%= Integer.parseInt(request.getParameter("qty1")) %> <%= tot1 %>
<%= name2 %> <%=Double.parseDouble(request.getParameter("price2")) %> <%= Integer.parseInt(request.getParameter("qty2")) %> <%= tot2 %>
Total Price <%= total %>


<% session.setAttribute("amount",String.valueOf(total)); %>
>

Customer Shipping Details

Name:
Address Line :
City:
State:
Country:
Postal Code:
Payment Mode:
Select Bank:


<%@ include file="footer.jsp" %>