useCartStatus

cart · /react·function

Read the cart status (idle/mutating/error) and seeding flag.

Signature

@nordcom/commerce-cart
function useCartStatus(): CartStatusValue;

Returns

Status, last error message, and whether the initial cart has been seeded into the provider.

CartDevtools CartFormProps CartProviderProps AppCartConfig BaseCartActions BuyerIdentityActions CartActions CartAttributeActions

Metadata@nordcom/commerce-cart@0.2.2Open in GitHub ↗

On this page