Try your search with a different keyword or use * as a wildcard.
@model ManufacturerSearchModel
@{
//page title
ViewBag.PageTitle = T("Admin.Catalog.Manufacturers").Text;
//active menu item (system name)
NopHtml.SetActiveMenuItemSystemName("Manufacturers");
}
@{
const string hideSearchBlockAttributeName = "ManufacturersPage.HideSearchBlock";
var hideSearchBlock = await genericAttributeService.GetAttributeAsync(await workContext.GetCurrentCustomerAsync(), hideSearchBlockAttributeName);
}
@T("Admin.Catalog.Manufacturers")
@T("Admin.Common.AddNew")
@T("Admin.Common.Export")
@T("Admin.Common.ExportToXml")
@T("Admin.Common.ExportToExcel")
@T("Admin.Common.Import")
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ManufacturerListButtons, additionalData = Model })
@T("Admin.Common.Delete.Selected")
@T("Admin.Common.Search")
@T("Admin.Common.Search")
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "manufacturers-grid",
UrlRead = new DataUrl("List", "Manufacturer", null),
SearchButtonId = "search-manufacturers",
Length = Model.PageSize,
LengthMenu = Model.AvailablePageSizes,
Filters = new List
{
new FilterParameter(nameof(Model.SearchManufacturerName)),
new FilterParameter(nameof(Model.SearchStoreId)),
new FilterParameter(nameof(Model.SearchPublishedId))
},
ColumnCollection = new List
{
new ColumnProperty(nameof(ManufacturerModel.Id))
{
IsMasterCheckBox = true,
Render = new RenderCheckBox("checkbox_manufacturers"),
ClassName = NopColumnClassDefaults.CenterAll,
Width = "50"
},
new ColumnProperty(nameof(ManufacturerModel.Name))
{
Title = T("Admin.Catalog.Manufacturers.Fields.Name").Text
},
new ColumnProperty(nameof(ManufacturerModel.Published))
{
Title = T("Admin.Catalog.Manufacturers.Fields.Published").Text,
Width = "100",
ClassName = NopColumnClassDefaults.CenterAll,
Render = new RenderBoolean()
},
new ColumnProperty(nameof(ManufacturerModel.DisplayOrder))
{
Title = T("Admin.Catalog.Manufacturers.Fields.DisplayOrder").Text,
Width = "150",
ClassName = NopColumnClassDefaults.CenterAll
},
new ColumnProperty(nameof(ManufacturerModel.Id))
{
Title = T("Admin.Common.Edit").Text,
Width = "100",
ClassName = NopColumnClassDefaults.Button,
Render = new RenderButtonEdit(new DataUrl("Edit"))
}
}
})
$(function() {
$('#delete-selected-action-confirmation-submit-button').bind('click', function () {
var postData = {
selectedIds: selectedIds
};
addAntiForgeryToken(postData);
$.ajax({
cache: false,
type: "POST",
url: "@(Url.Action("DeleteSelected", "Manufacturer"))",
data: postData,
error: function (jqXHR, textStatus, errorThrown) {
showAlert('deleteSelectedFailed', errorThrown);
},
complete: function (jqXHR, textStatus) {
if (jqXHR.status === 204)
{
showAlert('nothingSelectedAlert', '@T("Admin.Common.Alert.NothingSelected")');
return;
}
updateTable('#manufacturers-grid');
}
});
$('#delete-selected-action-confirmation').modal('toggle');
return false;
});
});
@*import manufacturers form*@
@T("Admin.Common.ImportFromExcel")
×
@T("Admin.Catalog.Manufacturers.List.ImportFromExcelTip")
@T("Admin.Common.ImportFromExcel.ManyRecordsWarning")
@T("Admin.Common.ExcelFile")
@T("Admin.Common.ImportFromExcel")