Skip to main content

Simplified hooks

Return SimpleProduct objects with pre-computed prices and images.

Full data hooks

Return the full StoreProduct shape from the GraphQL API, including all variant, pricing, media, and deliverable data.

Types

SimpleProduct

Returned by useProducts, useProduct, fetchProducts, and fetchProduct.
SimpleProduct

StoreProduct

Returned by useStoreProducts, useStoreProduct, fetchStoreProducts, and fetchStoreProduct. The full product shape from the GraphQL API.
StoreProduct

Next steps

  • Cart. Add products to the cart and manage line items
  • Products concepts. Understand the product data model and pricing