GitHub

DaffCompositeProductItemOption

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

import { DaffCompositeProductItemOption } from '@daffodil/product-composite'
interface DaffCompositeProductItemOption {
  is_default: boolean
  quantity: number
}

Properties

Name Type Description
is_default boolean

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

quantity number

The quantity chosen for the option.