Passa al contenuto principale

WrAttribute

webround-docs


webround-docs / WrAttribute

Interface: WrAttribute

Defined in: wr.d.ts:86

A searchable/sortable attribute attached to a product or variant

Properties​

format?​

optional format?: ValueTypeFormatting

Defined in: wr.d.ts:98

Optional formatting hint for dates


icon?​

optional icon?: string

Defined in: wr.d.ts:104

Optional icon identifier


id​

id: string

Defined in: wr.d.ts:88

Unique identifier


label?​

optional label?: string

Defined in: wr.d.ts:92

Display label


name​

name: string

Defined in: wr.d.ts:90

Internal name


relevant​

relevant: boolean

Defined in: wr.d.ts:102

Whether this attribute is shown prominently


sortable?​

optional sortable?: boolean

Defined in: wr.d.ts:94

Whether this attribute can be used for sorting


type​

type: TagAttributeType

Defined in: wr.d.ts:96

Value type


value​

value: string

Defined in: wr.d.ts:100

The attribute value as a string