DaffConfigurableProductOptionValue
The configurable option of a configurable product attribute. For example, this could be "blue" for the attribute "color" for a T-shirt.
import { DaffConfigurableProductOptionValue } from '@daffodil/product-configurable'
interface DaffConfigurableProductOptionValue {
value: string
label: string
swatch: DaffSwatchOption
}
Properties
Name | Type | Description |
---|---|---|
value | string | The attribute option value. |
label | string | The attribute option label. |
swatch | DaffSwatchOption | An option for displaying a hex color. Can be used for product color attributes. |