Webiant Logo Webiant Logo
  1. No results found.

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

ProductSpecAttributeAddOrEdit.cshtml

@model AddSpecificationAttributeModel

@using Nop.Core.Domain.Catalog
@using Nop.Services

@{
    NopHtml.SetActiveMenuItemSystemName("Products");

    if(Model.SpecificationId == 0)
        ViewBag.PageTitle = T("Admin.Catalog.Products.SpecificationAttributes.AddNew").Text;
    else
        ViewBag.PageTitle = T("Admin.Catalog.Attributes.SpecificationAttributes.SpecificationAttribute.EditAttributeDetails").Text;
}

@if (Model.SpecificationId == 0) { @T("Admin.Catalog.Products.SpecificationAttributes.AddNew") } else { @T("Admin.Catalog.Attributes.SpecificationAttributes.SpecificationAttribute.EditAttributeDetails") - @Model.AttributeName } @T("Admin.Catalog.Products.ProductAttributes.Attributes.BackToProduct")

@if (Model.AttributeId == 0) { } else { }
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ProductDetailsSpecificationAttributeDetailsTop, additionalData = Model })
@if (Model.SpecificationId != 0) { } else { }
@if (Model.SpecificationId != 0) { } else { }
@if (Model.SpecificationId == 0) { }
@(await Html.LocalizedEditorAsync("AttributeValueCustomHtmlTextSection-localized", @
, @
))
@(await Html.LocalizedEditorAsync("AttributeValueCustomTextSection-localized", @
, @
))
@if(Model.AttributeTypeId != (int)SpecificationAttributeType.Option) { } else { }
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ProductDetailsSpecificationAttributeDetailsBottom, additionalData = Model })
@if (Model.SpecificationId != 0) { }