Try your search with a different keyword or use * as a wildcard.
@using Nop.Services.Stores
@model CustomerModel
@inject IStoreService storeService
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "currentshoppingcart-grid",
UrlRead = new DataUrl("GetCartList", "Customer", new RouteValueDictionary { [nameof(Model.CustomerShoppingCartSearchModel.CustomerId)] = Model.CustomerShoppingCartSearchModel.CustomerId }),
Length = Model.CustomerShoppingCartSearchModel.PageSize,
LengthMenu = Model.CustomerShoppingCartSearchModel.AvailablePageSizes,
Filters = new List
{
new FilterParameter(nameof(CustomerShoppingCartSearchModel.ShoppingCartTypeId), nameof(CustomerShoppingCartSearchModel))
},
ColumnCollection = new List
{
new ColumnProperty(nameof(ShoppingCartItemModel.ProductName))
{
Title = T("Admin.CurrentCarts.Product").Text,
Width = "500",
Render = new RenderCustom("renderProductName")
},
new ColumnProperty(nameof(ShoppingCartItemModel.Quantity))
{
Title = T("Admin.CurrentCarts.Quantity").Text,
Width = "200"
},
new ColumnProperty(nameof(ShoppingCartItemModel.UnitPrice))
{
Title = T("Admin.CurrentCarts.UnitPrice").Text,
Width = "200"
},
new ColumnProperty(nameof(ShoppingCartItemModel.Total))
{
Title = T("Admin.CurrentCarts.Total").Text,
Width = "200"
},
new ColumnProperty(nameof(ShoppingCartItemModel.Store))
{
Title = T("Admin.CurrentCarts.Store").Text,
Width = "200",
Visible = (await storeService.GetAllStoresAsync()).Count > 1
},
new ColumnProperty(nameof(ShoppingCartItemModel.UpdatedOn))
{
Title = T("Admin.CurrentCarts.UpdatedOn").Text,
Width = "200",
Render = new RenderDate()
}
}
})