DaffCompositeCartItemInputOption
Designates a particular option for the composite product to add to the cart.
import { DaffCompositeCartItemInputOption } from '@daffodil/cart'
interface DaffCompositeCartItemInputOption {
code: string | number
quantity: number
value: string
}
Properties
Name | Type | Description |
---|---|---|
code | string | number | An identifier of the option for which a value has been chosen. |
quantity | number | How many of the specified option should be added to the cart. |
value | string | The value identifying the chosen composite product option. |