lowestPrice
lowestPrice(
product): {price:Money;varies:boolean; } |null
The cheapest priced variant’s price, and whether the variants differ (so a list says “From”). null when no variant has a price.
Parameters
Section titled “Parameters”product
Section titled “product”Pick<Product, "variants">
Returns
Section titled “Returns”{ price: Money; varies: boolean; } | null