GitHub

ShopifySelectedOption

Type

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

A name/value pair representing a product option selection on a variant. The ProductVariant object's selectedOptions field returns this to indicate which options define that variant, such as "Size: Large" or "Color: Red".

interface ShopifySelectedOption {
  __typename: "SelectedOption"
  name: string
  value: string
}

Properties

__typename
"SelectedOption"
name
string

The product option’s name.

value
string

The product option’s value.