useCartMeta

cart · /react·function

Read the cart meta slice (discount codes, gift cards, buyer identity, note, attributes, checkout URL) from the nearest provider.

Signature

@nordcom/commerce-cart
function useCartMeta(): CartMetaValue;

Returns

Metadata copied from the projection.

CartDevtools CartFormProps CartProviderProps AppCartConfig BaseCartActions BuyerIdentityActions CartActions CartAttributeActions

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

On this page