GitHub

DaffCompositeCartItemInput

A cart item input for composite products.

import { DaffCompositeCartItemInput } from '@daffodil/cart'
interface DaffCompositeCartItemInput {
  type: DaffCartItemInputType.Composite
  options: DaffCompositeCartItemInputOption[]
}

Properties

Name Type Description
type DaffCartItemInputType.Composite
options DaffCompositeCartItemInputOption[]

The selected options for the composite product to be added to the cart.