@model CheckoutViewModel @{ ViewData["Title"] = "Checkout"; }

Checkout

@if (!string.IsNullOrEmpty(Model.ErrorMessage)) {
@Model.ErrorMessage
}

Shipping Address

Payment

Order Summary

@foreach (var item in Model.Cart.Items) {
@item.ProductName x@(item.Quantity)
$@item.Subtotal.ToString("F2")
}
Total $@Model.Cart.Total.ToString("F2")
@section Scripts { }