computeVolumeTierPricing
computeVolumeTierPricing(
tier,unitPrice):VolumeTierPricing
Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/product/volume-discounts.d.ts:174
The widget’s per-tier display math (cent-based to avoid float drift), from the CURRENT selected variant’s unit price. Approximate by design: the real discount is applied by the app’s Function at checkout from live prices.
Parameters
Section titled “Parameters”unitPrice
Section titled “unitPrice”amount
Section titled “amount”string
currencyCode
Section titled “currencyCode”string