CATAGORIES
Birthday
New Year

Home : Shopping Cart
  <% while not crs.eof prodid=crs("prodid") quantity=crs("quantity") orderno=crs("orderno") sql="select * from product where prodid="&prodid set cart=server.createobject("ADODB.Recordset") cart.open sql,con if not cart.eof then prodname=cart("prodname") price=cart("price") grossweight=cart("grossweight") end if cart.close %> <% if grossweight="" then grossweight=0 end if weight=grossweight*quantity gweight=gweight+weight stotal=stotal+(price*quantity) crs.movenext wend 'if gweight-weight1<=0 then 'shipprice=price1+50 'else 'if (gweight-weight1)\weight2=0 then 'shipprice=cint(price1)+cint(price2)+50 'response.write "ok" 'elseif (gweight-weight1)\weight2>0 and (gweight-weight1) mod weight2=0 then 'n=(gweight-weight1)\weight2 'shipprice=price1+(price2*n)+50 'response.write "ok1" 'elseif (gweight-weight1)\weight2>0 and (gweight-weight1) mod weight2>0 then 'n=(gweight-weight1)\weight2 'shipprice=price1+(price2*n)+price2+50 'response.write "ok2" 'end if 'end if 'response.write weight1&"
" 'response.write shipprice %>
 Product Name Quantity Price Total
 <%=prodname%> <%=quantity%>  <%=symbol%><%=formatnumber(price/amount,2)%>  <%=symbol%><%=formatnumber((price*quantity)/amount,2)%> 
Shipping Charges <%'=gweight%><%=symbol%><%=formatnumber(shipprice/amount,2)%> 
Grand Total <%=symbol%><%=formatnumber((stotal+shipprice)/amount,2)%> 
    
Shipping Details
First Name :  
Last Name :  
Email :  
Shipping Address :  
City :  
State / Province :  
Postal Code / Zip Code :  
Country :  
Telephone :  
Billing Details (Same as Shipping Details )
First Name :  
Last Name :  
Email :  
Billing Address :  
City :  
State / Province :  
Postal Code / Zip Code :  
Country :  
Telephone :  


 
Shipping Notes
  • one
  • two