Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

_OrderReviewData.cshtml

@model ShoppingCartModel.OrderReviewDataModel
@if (Model.Display)
{
    
@T("Order.BillingAddress")
  • @Model.BillingAddress.FirstName @Model.BillingAddress.LastName
  • @if (Model.BillingAddress.PhoneEnabled) {
  • @T("Order.Phone"): @Model.BillingAddress.PhoneNumber
  • } @if (Model.BillingAddress.FaxEnabled) {
  • @T("Order.Fax"): @Model.BillingAddress.FaxNumber
  • } @if (Model.BillingAddress.CompanyEnabled && !string.IsNullOrEmpty(Model.BillingAddress.Company)) {
  • @Model.BillingAddress.Company
  • } @foreach (var item in Model.BillingAddress.AddressFields) {
  • @item.Value
  • } @if (!string.IsNullOrEmpty(Model.BillingAddress.FormattedCustomAddressAttributes)) {
  • @Html.Raw(Model.BillingAddress.FormattedCustomAddressAttributes)
  • } @if (Model.CustomValues != null) { foreach (var item in Model.CustomValues) {
  • @item.Key: @(item.Value != null ? item.Value.ToString() : "")
  • } } @await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OrderSummaryBillingAddress, additionalData = Model })
@if (!string.IsNullOrEmpty(Model.PaymentMethod)) {
@T("Order.Payment")
  • @T("Order.Payment.Method"): @Model.PaymentMethod
  • @await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OrderSummaryPaymentMethodInfo, additionalData = Model })
}
@if (Model.IsShippable) {
@(Model.SelectedPickupInStore ? T("Order.PickupAddress") : T("Order.ShippingAddress"))
    @if (!Model.SelectedPickupInStore) {
  • @Model.ShippingAddress.FirstName @Model.ShippingAddress.LastName
  • if (Model.ShippingAddress.PhoneEnabled) {
  • @T("Order.Phone"): @Model.ShippingAddress.PhoneNumber
  • } if (Model.ShippingAddress.FaxEnabled) {
  • @T("Order.Fax"): @Model.ShippingAddress.FaxNumber
  • } if (Model.ShippingAddress.CompanyEnabled && !string.IsNullOrEmpty(Model.ShippingAddress.Company)) {
  • @Model.ShippingAddress.Company
  • } @foreach (var item in Model.ShippingAddress.AddressFields) {
  • @item.Value
  • } if (!string.IsNullOrEmpty(Model.ShippingAddress.FormattedCustomAddressAttributes)) {
  • @Html.Raw(Model.ShippingAddress.FormattedCustomAddressAttributes)
  • } @await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OrderSummaryShippingAddress, additionalData = Model }) } else { @foreach (var item in Model.PickupAddress.AddressFields) {
  • @item.Value
  • } }
@T("Order.Shipping")
  • @T("Order.Shipping.Name"): @Model.ShippingMethod
  • @await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OrderSummaryShippingMethodInfo, additionalData = Model })
}
}