Skip to content

computeCustomerPricingPreview

computeCustomerPricingPreview(entry, unitPrice): CustomerPricingPreview

Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/product/customer-pricing.d.ts:146

The member preview 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 - which is why every default rendering carries the “applied at checkout” note.

CustomerPricingEntry

string

string

CustomerPricingPreview