Webiant Logo Webiant Logo
  1. No results found.

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

MenuItemSelectProductPopup.cshtml

@model SelectMenuItemProductSearchModel

@{
    Layout = "_AdminPopupLayout";

    //page title
    ViewBag.PageTitle = T("Admin.ContentManagement.Menus.MenuItems.SelectProduct").Text;
}
@if (ViewBag.RefreshPage == true)
{
    
}
else
{
    

@T("Admin.ContentManagement.Menus.MenuItems.SelectProduct")

 
@await Html.PartialAsync("Table", new DataTablesModel { Name = "products-grid", UrlRead = new DataUrl("MenuItemSelectProductPopupList", "Menu", null), SearchButtonId = "search-products", Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, Filters = new List { new FilterParameter(nameof(Model.SearchKeywords)) }, ColumnCollection = new List { new ColumnProperty(nameof(SelectMenuItemProductModel.Id)) { Title = T("Admin.Common.Select").Text, Render = new RenderCustom("renderColumnSelectProduct"), ClassName = NopColumnClassDefaults.Button, Width = "50", }, new ColumnProperty(nameof(SelectMenuItemProductModel.Name)) { Title = T("Admin.ContentManagement.Menus.MenuItems.SelectProduct.Fields.ProductName").Text }, new ColumnProperty(nameof(SelectMenuItemProductModel.Published)) { Title = T("Admin.ContentManagement.Menus.MenuItems.SelectProduct.Fields.Published").Text, Width = "150", ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderBoolean() } } })
}