DaffCompositeProductItem

The composite product item describes one set of product options that the user can add to the composite product. A composite product item can be required or optional. If it is required, an option must be chosen in order to add the product to the cart. If the item is optional, the product can be added to the cart without an option having been chosen. For example, if a composite product is a toolbox bundle, a composite product item might be a screw driver, and the options contained in that item might be a phillips head and a flathead. The customer could choose to add either a phillips head or a flathead to the composite product, or neither if the item is optional.

Properties

Name Type Description
required boolean Whether the item is required or optional.
title string The title label for the item.
input_type DaffCompositeProductItemInputEnum Describes how the item should be displayed.
options DaffCompositeProductItemOption[] The options that may be chosen for the item.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.