Webiant Logo Webiant Logo
  1. No results found.

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

List.cshtml

@model MeasureSearchModel

@{
    //page title
    ViewBag.PageTitle = T("Admin.Configuration.Shipping.Measures").Text;
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("Measures");
    
    const string hideDimensionsBlockAttributeName = "MeasuresPage.HideDimensionsBlock";
    var customer = await workContext.GetCurrentCustomerAsync();
    var hideDimensionsBlock = await genericAttributeService.GetAttributeAsync(customer, hideDimensionsBlockAttributeName);

    const string hideWeightsBlockAttributeName = "MeasuresPage.HideWeightBlock";
    var hideWeightsBlock = await genericAttributeService.GetAttributeAsync(customer, hideWeightsBlockAttributeName);
}

@T("Admin.Configuration.Shipping.Measures")

  @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.MeasureListButtons, additionalData = Model })
@await Html.PartialAsync("Dimensions", Model) @await Html.PartialAsync("Weights", Model) @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.MeasureListBlock, additionalData = Model })