Table of Contents

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

int

FacetGroups

public IList<FacetGroupViewModel> FacetGroups { get; set; }

Property Value

IList<FacetGroupViewModel>

Group

public ProductGroupViewModel Group { get; set; }

Property Value

ProductGroupViewModel

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

int

PageSize

Gets or sets the items count per page.

public int PageSize { get; set; }

Property Value

int

Products

public IList<ProductViewModel> Products { get; set; }

Property Value

IList<ProductViewModel>

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

string

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

string

SpellCheckerSuggestions

Gets or sets the collection of suggestions from a spell checker.

public IList<string> SpellCheckerSuggestions { get; set; }

Property Value

IList<string>

SubGroups

public IList<ProductGroupViewModel> SubGroups { get; set; }

Property Value

IList<ProductGroupViewModel>

TotalProductsCount

Gets or sets the total number of products in the list.

public int TotalProductsCount { get; set; }

Property Value

int
To top