AttributesFilter¶
The AttributesFilter object represents an attribute filter in the storefront.
classDiagram
direction LR
AttributesFilter --> AttributesFiltersList
class AttributesFilter{
int attributeId,
string name
bool isActive
bool hasCounters
bool isSingleChoiceOnly
int limit
AttributesFilterValuesList values
}
class AttributesFiltersList{
}
Properties¶
Attribute name | Type | Description |
---|---|---|
attributeValueId | int |
The unique identifier of the attributes filter. |
name | string |
The name of the attributes filter. |
isActive | bool |
Returns true when attributes filter is active. |
hasCounters | bool |
Returns true when attributes filter has counter. |
isSingleChoiceOnly | bool |
Returns true when attributes filter is single choice. |
limit | number |
Number of visible options in the filter. |
values | AttributesFilterValuesList |
The AttributesFilterValuesList object that represents list of AttributesFilterValue object. |