Skip to content

isCustomerPricingLive

isCustomerPricingLive(entry, now?): boolean

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

Whether a rule should render right now: status === "active" and the current time is inside [startsAt, endsAt] (both inclusive). The fields are full ISO UTC datetimes (the discount node’s own window); date-only values are tolerated with the same local-day semantics as bundles/volume. Unparseable bounds are ignored - the node’s scheduler is authoritative at checkout either way.

CustomerPricingEntry

Date

boolean