Webiant Logo Webiant Logo
  1. No results found.

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

_CreateOrUpdate.cshtml

@model MenuModel

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

    const string hideMenuItemsBlockAttributeName = "MenuPage.HideMenuItemsBlock";
    var hideMenuItemsBlock = await genericAttributeService.GetAttributeAsync(customer, hideMenuItemsBlockAttributeName);
}

@await Component.InvokeAsync(typeof(SettingModeViewComponent), new { modeName = "menu-advanced-mode" })
@await Html.PartialAsync("_CreateOrUpdate.Info", Model) @await Html.PartialAsync("_CreateOrUpdate.MenuItems", Model)