@coveo/headless-react
    Preparing search index...

    Function loadCartActions

    • Loads the commerce cart reducer and returns the available cart action creators.

      Parameters

      • engine: CommerceEngine

        The commerce engine.

      Returns CartActionCreators

      An object holding the cart action creators.