Try your search with a different keyword or use * as a wildcard.
@model OrderTotalsModel
@Model.SubTotal
@if (!string.IsNullOrEmpty(Model.SubTotalDiscount))
{
@Model.SubTotalDiscount
}
@if (!Model.HideShippingTotal)
{
@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")
}
}
@if (!string.IsNullOrEmpty(Model.PaymentMethodAdditionalFee))
{
@Model.PaymentMethodAdditionalFee
}
@if (Model.DisplayTaxRates && Model.TaxRates.Count > 0)
{
foreach (var taxRate in Model.TaxRates)
{
@taxRate.Value
}
}
@if (Model.DisplayTax)
{
@Model.Tax
}
@if (!string.IsNullOrEmpty(Model.OrderTotalDiscount))
{
@Model.OrderTotalDiscount
}
@if (Model.GiftCards.Count > 0)
{
foreach (var gc in Model.GiftCards)
{
@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
}
}
@if (Model.RedeemedRewardPoints > 0)
{
@Model.RedeemedRewardPointsAmount
}
@if (!string.IsNullOrEmpty(Model.OrderTotal))
{
@Model.OrderTotal
}
else
{
@T("ShoppingCart.Totals.CalculatedDuringCheckout")
}
@if (Model.WillEarnRewardPoints > 0)
{
@string.Format(T("ShoppingCart.Totals.RewardPoints.WillEarn.Point").Text, Model.WillEarnRewardPoints)
}