Table of Contents

Class FacetViewModel

Namespace
Dynamicweb.Ecommerce.ProductCatalog
Assembly
Dynamicweb.Ecommerce.dll

Represents a facet that has selectable options in a frontend for a product catalog listing search results.

public class FacetViewModel : FillableViewModelBase
Inheritance
FacetViewModel
Inherited Members

Properties

FacetField

Gets or sets the field used for faceting.

public string FacetField { get; set; }

Property Value

string

FacetType

Gets or sets the type of the facet.

public string FacetType { get; set; }

Property Value

string

FacetValue

Gets or sets the value of the facet.

public string FacetValue { get; set; }

Property Value

string

MaximumFacetValue

Gets or sets the maximum value of the facet if it is a range facet.

public double MaximumFacetValue { get; set; }

Property Value

double

MinimumFacetValue

Gets or sets the minimum value of the facet if it is a range facet.

public double MinimumFacetValue { get; set; }

Property Value

double

Name

Gets or sets the name of the facet.

public string Name { get; set; }

Property Value

string

OptionActiveCount

Gets or sets the count of active options for the facet.

public int OptionActiveCount { get; set; }

Property Value

int

OptionCount

Gets or sets the count of options available for the facet.

public int OptionCount { get; set; }

Property Value

int

OptionResultTotalCount

Gets or sets the total count of options in the facet's result set.

public long OptionResultTotalCount { get; set; }

Property Value

long

Options

Gets or sets the options associated with the facet.

public IEnumerable<FacetOptionViewModel> Options { get; set; }

Property Value

IEnumerable<FacetOptionViewModel>

QueryParameter

Gets or sets the query parameter associated with the facet.

public string QueryParameter { get; set; }

Property Value

string

QueryParameterDefaultValue

Gets or sets the default value of the query parameter associated with the facet.

public string QueryParameterDefaultValue { get; set; }

Property Value

string

QueryParameterType

Gets or sets the type of the query parameter associated with the facet.

public string QueryParameterType { get; set; }

Property Value

string

RenderType

Gets or sets the render type of the facet.

public string RenderType { get; set; }

Property Value

string
To top