GitHub

DaffConfigurableProduct

A configurable product is a product with configurable attributes. The price of a configurable product may change based on the attributes chosen, so a configurable product can have a price range. An example of a configurable product is a T-shirt.

import { DaffConfigurableProduct } from '@daffodil/product-configurable'
interface DaffConfigurableProduct {
  configurableAttributes: DaffConfigurableProductAttribute[]
  variants: DaffConfigurableProductVariant[]
}

Properties

Name Type Description
configurableAttributes DaffConfigurableProductAttribute[]

The configurable attributes available.

variants DaffConfigurableProductVariant[]

The possible different variants of the product.