GitHub

DaffPriceRange

A ranged price for products that could have more than one possible price, depending on the configurations.

import { DaffPriceRange } from '@daffodil/product'
interface DaffPriceRange {
  maxPrice: DaffProductPrices
  minPrice: DaffProductPrices
}

Properties

Name Type Description
maxPrice DaffProductPrices

The maximum prices of the product. Includes discounts, the maximum discounted price, and the maximum original price.

minPrice DaffProductPrices

The minimum prices of the product. Includes discounts, the minimum discounted price, and the minimum original price.