GitHub

ShopifyProductVariantComponent

Type

import { ShopifyProductVariantComponent } from '@daffodil/driver/shopify'

An individual product variant included in a fixed bundle. Fixed bundles group multiple products together and sell them as a single unit, with the bundle's inventory determined by its components.

Access components through the ProductVariant object's components field.

interface ShopifyProductVariantComponent {
  __typename: "ProductVariantComponent"
  productVariant: ShopifyProductVariant
  quantity: number
}

Properties

__typename
"ProductVariantComponent"
productVariant
ShopifyProductVariant

The product variant object that the component belongs to.

quantity
number

The quantity of component present in the bundle.