RegularFacetActions

This is for:

Developer

The regular facet action creators.

Loader Function

loadRegularFacetActions

Loads the commerce facet set reducer and returns the available regular facet action creators.

Parameters

  • engine: CommerceEngine

    The commerce engine.

Returns RegularFacetActionCreators: The regular facet action creators.

RegularFacetActionCreators

toggleExcludeFacetValue

Toggles the exclusion of a given regular facet value.

Parameters

  • payload: ToggleSelectFacetValueActionCreatorPayload

    The action creator payload.

Returns PayloadAction<ToggleExcludeFacetValuePayload>: A dispatchable action.

toggleSelectFacetValue

Toggles the selection of a given regular facet value.

Parameters

  • payload: ToggleSelectFacetValueActionCreatorPayload

    The action creator payload.

Returns PayloadAction<ToggleSelectFacetValuePayload>: A dispatchable action.