%@ Control Language="C#" AutoEventWireup="true" CodeFile="CartControl.ascx.cs" Inherits="Controls_CartControl" %>
| Quantity | Product | Unit Price | Total Price | |||||
|---|---|---|---|---|---|---|---|---|
|
|
<% } else { %>
<% } %> |
<% if (IsEditable) { %>
|
<%# Eval("Name") %> (<%# Eval("SKU") %>) <%# Eval("CustomizationText") %> |
<%# Eval("CustomizedPrice", "{0:c}")%> | <%# Eval("ItemTotal","{0:C}") %> | |||
|
<% if (IsEditable) { %>
|
Sub Total: | <%= String.Format("{0:C}", ShoppingCart.SubTotal) %> | ||||||
|
<%# Eval("DiscountTitle") %> |
-<%# Eval("DiscountAmount", "{0:C}") %> | |||||||
| <%= ShoppingCart.TaxState %> Sales Tax (<%= String.Format("{0:f}", ShoppingCart.TaxRate*100) %>%): | <%= String.Format("{0:c}", ShoppingCart.SalesTax) %> | |||||||
| Shipping and Handling <% if (ShoppingCart.ShippingName != string.Empty) { %> (<%= ShoppingCart.ShippingName%>) <% } %>: | <%= String.Format("{0:C}", ShoppingCart.ShippingCost) %> | |||||||
| Total: | <% } else { %>Need to make a change to quantities? Click here. | Total: | <% } %><%= String.Format("{0:C}", ShoppingCart.GrandTotal)%> | |||||
| Your cart is empty. | ||||||||