GitHub

DaffConfigurableCartItemAttribute

import { DaffConfigurableCartItemAttribute } from '@daffodil/cart'

Defines a selected attribute for a configurable cart item.

interface DaffConfigurableCartItemAttribute {
  attribute_label: string
  value_label: string
}

Properties

attribute_label
string

A human-readable label for the attribute.

value_label
string

A human-readable label for the particular value chosen for the attribute.