@model IList @{ //When there is just one tier (with qty 1), there are no actual savings in the list. var displayTierPrices = Model.Count > 0 && !(Model.Count == 1 && Model[0].Quantity <= 1); } @if (displayTierPrices) {
@T("Products.TierPrices")
@foreach (var tierPrice in Model) { } @foreach (var tierPrice in Model) { }
@T("Products.TierPrices.Quantity") @(tierPrice.Quantity)+
@T("Products.TierPrices.Price") @tierPrice.Price
}