useCartCapabilities
●cart · /react·functionthrows CartProviderError
Read the cart capabilities surfaced by the kernel snapshot. Throws when
called outside a <CartProvider> to guard consumers that depend on the
capability matrix to drive conditional UI.
Signature
function useCartCapabilities(): CartCapabilities;Returns
The capabilities object reported by the active adapter.
Throws
CartProviderError
when called outside
<CartProvider>.Related
CartDevtools CartFormProps CartProviderProps AppCartConfig BaseCartActions BuyerIdentityActions CartActions CartAttributeActions