WrAttribute
webround-docs / WrAttribute
Interface: WrAttribute
Defined in: wr.d.ts:86
A searchable/sortable attribute attached to a product or variant
Properties
format?
optionalformat?:ValueTypeFormatting
Defined in: wr.d.ts:98
Optional formatting hint for dates
icon?
optionalicon?:string
Defined in: wr.d.ts:104
Optional icon identifier
id
id:
string
Defined in: wr.d.ts:88
Unique identifier
label?
optionallabel?: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?
optionalsortable?: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