GitHub

ShopifySellingPlanGroupOption

interface

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

Represents an option on a selling plan group that's available in the drop-down list in the storefront.

Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called option1: Delivery every. One selling plan in that group could contribute option1: 2 weeks with the pricing for that option, and another selling plan could contribute option1: 4 weeks, with different pricing.

interface ShopifySellingPlanGroupOption {
  __typename: "SellingPlanGroupOption"
  name: string
  values: string[]
}

Properties

__typename
"SellingPlanGroupOption"
name
string

The name of the option. For example, 'Delivery every'.

values
string[]

The values for the options specified by the selling plans in the selling plan group. For example, '1 week', '2 weeks', '3 weeks'.