Skip to main content
The SDK provides React hooks that give you real-time access to cart data, payment methods, shipping options, and store configuration.
Ask your agent. The Ollie Shop skill ships with projects created by npx create-ollie-shop and covers every hook on this page, so you can describe the goal instead of picking the hook yourself.
Prompt
Don’t have the skill yet? Install it.

Hooks

Problem: Need access to cart contents and customer information
useCheckoutSession Hook
What you get:
  • Session data (cart items, customer profile, totals)
  • Locale information (currency, language)
  • Access to raw session data from e-commerce provider
  • Real-time updates when session changes