}
if (!string.IsNullOrWhiteSpace(Model.OldPrice))
{
@*old price*@
@T("Products.Price.OldPrice"):@Model.OldPrice
}
@if (!string.IsNullOrWhiteSpace(Model.OldPrice) || !string.IsNullOrWhiteSpace(Model.PriceWithDiscount))
{
@*display "Price:" label if we have old price or discounted one*@
}
@*render price*@
id="price-value-@(Model.ProductId)" class="price-value-@(Model.ProductId)" }>
@Html.Raw(Model.Price)
if (!string.IsNullOrWhiteSpace(Model.PriceWithDiscount))
{
@*discounted price*@
}
if (!string.IsNullOrEmpty(Model.BasePricePAngV))
{
@Model.BasePricePAngV
}
if (Model.DisplayTaxShippingInfo)
{
var inclTax = await workContext.GetTaxDisplayTypeAsync() == TaxDisplayType.IncludingTax;
//tax info is already included in the price (incl/excl tax). that's why we display only shipping info here
//of course, you can modify appropriate locales to include VAT info there