GitHub

ShopifyPriceRangeFilter

Type

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

A price range for filtering products in a collection. Used by the ProductFilter input's price field.

Note: Omitting the maximum returns all products above the minimum.

interface ShopifyPriceRangeFilter {
  max: number
  min: number
}

Properties

max
number

The maximum price in the range. Empty indicates no max price.

min
number

The minimum price in the range. Defaults to zero.