resolveVolumeTiers
resolveVolumeTiers(
entry,unitPrice):ResolvedVolumeTier[]
Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/product/volume-discounts.d.ts:191
Resolve every tier of an entry against the current unit price - recomputed whenever the customer’s variant selection changes the price.
Parameters
Section titled “Parameters”unitPrice
Section titled “unitPrice”amount
Section titled “amount”string
currencyCode
Section titled “currencyCode”string