import { DaffConfigurableProductAttribute } from '@daffodil/product-configurable'
An attribute of the configurable product that the customer must choose to add the configurable product to the cart. An example of an attribute would be size for clothing.
interface DaffConfigurableProductAttribute {
code: string
label: string
values: DaffConfigurableProductOptionValue[]
}
code string |
---|
The identifier for the attribute type. |
label string |
---|
A label for the attribute type. |
values DaffConfigurableProductOptionValue[] |
---|
The possible attribute options that a customer can choose. |