Webiant Logo Webiant Logo
  1. No results found.

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

_CreateOrUpdateProductAttributeMapping.cshtml

@model ProductAttributeMappingModel

@{
    const string hideInfoBlockAttributeName = "ProductAttributeMappingPage.HideCommonBlock";
    var customer = await workContext.GetCurrentCustomerAsync();
    var hideInfoBlock = await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName);

    const string hideValuesBlockAttributeName = "ProductAttributeMappingPage.HideValuesBlock";
    var hideValuesBlock = await genericAttributeService.GetAttributeAsync(customer, hideValuesBlockAttributeName);

    const string hideConditionBlockAttributeName = "ProductAttributeMappingPage.HideConditionBlock";
    var hideConditionBlock = await genericAttributeService.GetAttributeAsync(customer, hideConditionBlockAttributeName);
}

@await Html.PartialAsync("_CreateOrUpdateProductAttributeMapping.Info", Model) @await Html.PartialAsync("_CreateOrUpdateProductAttributeMapping.Values", Model) @if (Model.ConditionAllowed) { @await Html.PartialAsync("_CreateOrUpdateProductAttributeMapping.Condition", Model) } @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ProductAttributeMappingDetailsBlock, additionalData = Model })