Class ProductListViewModel
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog
- Assembly
- Dynamicweb.Ecommerce.dll
public class ProductListViewModel : FillableViewModelBase
- Inheritance
-
ProductListViewModel
- Inherited Members
Properties
CurrentPage
Gets or sets the current page number.
public int CurrentPage { get; set; }
Property Value
FacetGroups
public IList<FacetGroupViewModel> FacetGroups { get; set; }
Property Value
Group
public ProductGroupViewModel Group { get; set; }
Property Value
PageCount
Gets or sets the count of pages. If this value is greater than 0, the view model result will be paginated, otherwise, plain list.
public int PageCount { get; set; }
Property Value
PageSize
Gets or sets the items count per page.
public int PageSize { get; set; }
Property Value
Products
public IList<ProductViewModel> Products { get; set; }
Property Value
SortBy
Gets or sets the field that the list is sorted by. If the result is sorted by multiple fields, only the first is here.
public string SortBy { get; set; }
Property Value
SortOrder
Gets or sets the sortorder that the list is sorted by. If the result is sorted by multiple fields, only the first is here.
public string SortOrder { get; set; }
Property Value
SpellCheckerSuggestions
Gets or sets the collection of suggestions from a spell checker.
public IList<string> SpellCheckerSuggestions { get; set; }
Property Value
SubGroups
public IList<ProductGroupViewModel> SubGroups { get; set; }
Property Value
TotalProductsCount
Gets or sets the total number of products in the list.
public int TotalProductsCount { get; set; }