Webiant Logo Webiant Logo
  1. No results found.

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

_CreateOrUpdateProductAttributeMapping.Values.cshtml

@model ProductAttributeMappingModel

@if (Model.Id > 0)
{
    
@await Html.PartialAsync("Table", new DataTablesModel { Name = "productattributevalues-grid", UrlRead = new DataUrl("ProductAttributeValueList", "Product", new RouteValueDictionary { [nameof(Model.ProductAttributeValueSearchModel.ProductAttributeMappingId)] = Model.ProductAttributeValueSearchModel.ProductAttributeMappingId }), UrlDelete = new DataUrl("ProductAttributeValueDelete", "Product", null), Length = Model.ProductAttributeValueSearchModel.PageSize, LengthMenu = Model.ProductAttributeValueSearchModel.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(ProductAttributeValueModel.AttributeValueTypeName)) { Title = T("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.AttributeValueType").Text, Width = "200" }, new ColumnProperty(nameof(ProductAttributeValueModel.Name)) { Title = T("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.Name").Text, Width = "200" }, new ColumnProperty(nameof(ProductAttributeValueModel.AssociatedProductName)) { Title = T("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.AssociatedProduct").Text, Width = "200" }, new ColumnProperty(nameof(ProductAttributeValueModel.PriceAdjustmentStr)) { Title = T("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.PriceAdjustment").Text, Width = "200" }, new ColumnProperty(nameof(ProductAttributeValueModel.WeightAdjustmentStr)) { Title = T("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.WeightAdjustment").Text, Width = "200" }, new ColumnProperty(nameof(ProductAttributeValueModel.IsPreSelected)) { Title = T("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.IsPreSelected").Text, Width = "150", ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderBoolean() }, new ColumnProperty(nameof(ProductAttributeValueModel.PictureThumbnailUrl)) { Title = T("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.Picture").Text, ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderPicture(width: 200) }, new ColumnProperty(nameof(ProductAttributeValueModel.DisplayOrder)) { Title = T("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.DisplayOrder").Text, Width = "150", ClassName = NopColumnClassDefaults.CenterAll }, new ColumnProperty(nameof(ProductAttributeValueModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderCustom("renderProductAttributeMappingValuesColumnEdit") }, new ColumnProperty(nameof(ProductAttributeValueModel.Id)) { Title = T("Admin.Common.Delete").Text, Width = "100", Render = new RenderButtonRemove(T("Admin.Common.Delete").Text), ClassName = NopColumnClassDefaults.Button } } })
} else {
@T("Admin.Catalog.Products.ProductAttributes.Attributes.Values.SaveBeforeEdit")
}