Webiant Logo Webiant Logo
  1. No results found.

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

Default.cshtml

@model OrderTotalsModel
@if (!string.IsNullOrEmpty(Model.SubTotalDiscount)) { } @if (!Model.HideShippingTotal) { } @if (!string.IsNullOrEmpty(Model.PaymentMethodAdditionalFee)) { } @if (Model.DisplayTaxRates && Model.TaxRates.Count > 0) { foreach (var taxRate in Model.TaxRates) { } } @if (Model.DisplayTax) { } @if (!string.IsNullOrEmpty(Model.OrderTotalDiscount)) { } @if (Model.GiftCards.Count > 0) { foreach (var gc in Model.GiftCards) { } } @if (Model.RedeemedRewardPoints > 0) { } @if (Model.WillEarnRewardPoints > 0) { }
@Model.SubTotal
@Model.SubTotalDiscount
@if (Model.RequiresShipping && !string.IsNullOrEmpty(Model.SelectedShippingMethod)) { @T("ShoppingCart.Totals.Shipping.Method", Model.SelectedShippingMethod) } @if (Model.RequiresShipping) { if (!string.IsNullOrEmpty(Model.Shipping)) { @Model.Shipping } else { @T("ShoppingCart.Totals.CalculatedDuringCheckout") } } else { @T("ShoppingCart.Totals.Shipping.NotRequired") }
@Model.PaymentMethodAdditionalFee
@taxRate.Value
@Model.Tax
@Model.OrderTotalDiscount
@T("ShoppingCart.Totals.GiftCardInfo.Code", gc.CouponCode) @if (Model.IsEditable) { //little hack here with empty "value" element } @string.Format(T("ShoppingCart.Totals.GiftCardInfo.Remaining").Text, gc.Remaining) @gc.Amount
@Model.RedeemedRewardPointsAmount
@if (!string.IsNullOrEmpty(Model.OrderTotal)) { @Model.OrderTotal } else { @T("ShoppingCart.Totals.CalculatedDuringCheckout") }
@string.Format(T("ShoppingCart.Totals.RewardPoints.WillEarn.Point").Text, Model.WillEarnRewardPoints)