@using Microsoft.AspNetCore.Builder @using Microsoft.AspNetCore.Mvc.Localization @using Microsoft.AspNetCore.Mvc.TagHelpers @using Microsoft.Extensions.Localization @using Microsoft.Extensions.Options @using gehGassi.Web.Helper @using gehGassi.Web.Models @model gehGassi.Web.Models.AdvertisementCartItemCrudVm @inject IViewLocalizer Localizer @{ string selectedLanguage = ViewBag.SelectedLanguage; string fallbackLanguage = ViewBag.FallbackLanguage; IStringLocalizer annotationsLocalizer = ViewBag.AnnotationsLocalizer; ViewData["Title"] = Localizer["Button_AddToCart"]; string folderToUse = "temp"; }
@Localizer["Advertisement_AddToCart_Desc"]
@Localizer["Common_Tab_Details"]
@Localizer["Common_Tab_Description"]

@Model.ProductName

@Localizer["Common_AdvertisementCategory"]: @Model.AdvertisementCategoryName
@annotationsLocalizer["Product_PriceType"]: @Model.PriceType.GetDisplayName(annotationsLocalizer) | @annotationsLocalizer["Product_PriceAliquotType"]: @Model.PriceAliquotType.GetDisplayName(annotationsLocalizer) | @annotationsLocalizer["Product_ProductStartType"]: @Model.ProductStartType.GetDisplayName(annotationsLocalizer)
--
@if (!string.IsNullOrWhiteSpace(Model.Image)) { } else { }

@Localizer["Image_329_Desc"]

@if (!string.IsNullOrWhiteSpace(Model.Image2)) { } else { }

@annotationsLocalizer["Listing_Image2_Desc"]

@foreach (var item in Model.TextVms) {
@item.Language
}
@Html.EditorFor(m => m.TextVms, new{FolderToUse = folderToUse})
@Html.Hidden("jsLookupCountriesUrl", Url.Action("LookupCountries", "Country")) @Html.Hidden("jsLookupStatesUrl", Url.Action("LookupStates", "Country")) @Html.Hidden("jsUploadUrl", Url.Action("UploadTempFile", "Common")) @Html.Hidden("jsRemoveUrl", Url.Action("RemoveTempFile", "Common")) @Html.Hidden("jsGetAliquotPriceUrl", Url.Action("GetAliquotPrice", "Shop"))