useStackfront() | Context value | Access every service, config, and lifecycle state |
useProducts() | Product[] | Paginated product listing |
useProduct(handle) | Product | null | Single product by handle |
useSearch(query) | Product[] | Full-text product search |
useCollections() | Collection[] | Collection listing |
useCart() | Cart | null | Current cart with line mutations |
useCheckout() | { url, loading } | Checkout URL for web checkout |
useCustomer() | Customer | null | Logged-in customer profile |
useOrders() | Order[] | Customer order history |
usePush() | { permission, token } | Push notification registration state |
useConfig() | SdkConfigResponse | Remote SDK configuration |
useFeatureFlags() | FeatureFlag[] | Remote feature flags |
useBanners() | Banner[] | Active banners |
useAnnouncements() | Announcement[] | Announcement bar config |
usePopups() | Popup[] | Popup/overlay config |
useStories() | Story[] | Story/collection highlights |
useReviews() | Review[] | Product reviews |
useSocialProof() | SocialProof[] | Live social proof notifications |
useWishlist() | WishlistItem[] | User’s wishlist |
useLoyalty() | LoyaltyData | Points, tiers, and rewards |
useBilling() | BillingStatus | App subscription/billing info |
useIntegrations() | Integration[] | Third-party integration status |
useAbandonedCart() | { enabled, optedIn, optIn, optOut } | Abandoned cart notification opt-in state and controls |