GitHub

ShopifyProductFilter

Type

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

The input fields for a filter used to view a subset of products in a collection. By default, the available and price filters are enabled. Filters are customized with the Shopify Search & Discovery app. Learn more about customizing storefront filtering.

interface ShopifyProductFilter {
  available: boolean
  category: ShopifyCategoryFilter
  price: ShopifyPriceRangeFilter
  productMetafield: ShopifyMetafieldFilter
  productType: string
  productVendor: string
  tag: string
  taxonomyMetafield: ShopifyTaxonomyMetafieldFilter
  variantMetafield: ShopifyMetafieldFilter
  variantOption: ShopifyVariantOptionFilter
}

Properties

available
boolean

Filter on if the product is available for sale.

category
ShopifyCategoryFilter

A product category to filter on.

price
ShopifyPriceRangeFilter

A range of prices to filter with-in.

productMetafield
ShopifyMetafieldFilter

A product metafield to filter on.

productType
string

The product type to filter on.

productVendor
string

The product vendor to filter on.

tag
string

A product tag to filter on.

taxonomyMetafield
ShopifyTaxonomyMetafieldFilter

A standard product attribute metafield to filter on.

variantMetafield
ShopifyMetafieldFilter

A variant metafield to filter on.

variantOption
ShopifyVariantOptionFilter

A variant option to filter on.