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
FacetType
Gets or sets the type of the facet.
public string FacetType { get; set; }
Property Value
FacetValue
Gets or sets the value of the facet.
public string FacetValue { get; set; }
Property Value
MaximumFacetValue
Gets or sets the maximum value of the facet if it is a range facet.
public double MaximumFacetValue { get; set; }
Property Value
MinimumFacetValue
Gets or sets the minimum value of the facet if it is a range facet.
public double MinimumFacetValue { get; set; }
Property Value
Name
Gets or sets the name of the facet.
public string Name { get; set; }
Property Value
OptionActiveCount
Gets or sets the count of active options for the facet.
public int OptionActiveCount { get; set; }
Property Value
OptionCount
Gets or sets the count of options available for the facet.
public int OptionCount { get; set; }
Property Value
OptionResultTotalCount
Gets or sets the total count of options in the facet's result set.
public long OptionResultTotalCount { get; set; }
Property Value
Options
Gets or sets the options associated with the facet.
public IEnumerable<FacetOptionViewModel> Options { get; set; }
Property Value
QueryParameter
Gets or sets the query parameter associated with the facet.
public string QueryParameter { get; set; }
Property Value
QueryParameterDefaultValue
Gets or sets the default value of the query parameter associated with the facet.
public string QueryParameterDefaultValue { get; set; }
Property Value
QueryParameterType
Gets or sets the type of the query parameter associated with the facet.
public string QueryParameterType { get; set; }
Property Value
RenderType
Gets or sets the render type of the facet.
public string RenderType { get; set; }