Table of Contents

Class FacetOptionViewModel

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

Represents a view model for a facet option used in frontend development. This view model is used in a razor template to render options of a facet that comes in facet groups.

public class FacetOptionViewModel : FillableViewModelBase
Inheritance
FacetOptionViewModel
Inherited Members
Extension Methods

Properties

Count

Gets or sets the count of items associated with the facet option.

public long Count { get; set; }

Property Value

long

Label

Gets or sets the label of the facet option.

public string Label { get; set; }

Property Value

string

Name

Gets or sets the name of the facet option.

public string Name { get; set; }

Property Value

string

Selected

Gets or sets a value indicating whether the facet option is selected.

public bool Selected { get; set; }

Property Value

bool

Sort

Gets or sets the sort order of the facet option.

public int Sort { get; set; }

Property Value

int

Value

Gets or sets the value of the facet option.

public string Value { get; set; }

Property Value

string
To top