GitHub

DaffCompositeProductItemOption

import { DaffCompositeProductItemOption } from '@daffodil/product-composite'

The composite product item option is a DaffProduct that can be added to a composite product.

interface DaffCompositeProductItemOption {
  is_default: boolean
  quantity: number
}

Properties

is_default
boolean

Whether the option is the default option for its parent DaffCompositeProductItem.

quantity
number

The quantity chosen for the option.